Commit Graph

57 Commits

Author SHA1 Message Date
Rhinemann cb19425b8a Merge pull request 'New Feature: add square root extraction implementation' (#5) from square-root-support into master
Reviewed-on: #5
2024-06-17 21:13:26 +03:00
dymik739 c0aebf14d2 add square root extraction implementation 2024-06-17 21:07:51 +03:00
rhinemann e6ba434796 Fixed an infinite empty print bug. 2024-02-27 18:30:37 +02:00
rhinemann dbe283a3d6 README.md updated with releases. 2024-01-21 13:58:52 +02:00
rhinemann 23112646c0 README.md added Ukrainian translation. 2024-01-19 21:34:00 +02:00
rhinemann 84b533d658 README.md fixed typos. 2024-01-19 21:03:47 +02:00
rhinemann 423ec47e04 Made independent. 2024-01-19 21:02:47 +02:00
rhinemann c5e6b61931 README updated. 2024-01-18 23:41:43 +02:00
rhinemann 02031c1102 README updated. 2024-01-18 23:29:10 +02:00
rhinemann 054dc803d1 README expanded. 2024-01-18 23:27:32 +02:00
Rhinemann 9f7ec834b2 Merge pull request 'Implement all methods for binary division' (#4) from division-implementation into master
Reviewed-on: #4
2023-07-30 10:25:27 +03:00
dymik739 a387325077 remove unused get_mantice_complement() function 2023-07-29 20:57:51 +03:00
dymik739 f31491cdad fix first division method, ready for merging 2023-07-29 20:50:40 +03:00
dymik739 91fc4084e1 implemented division method 2, method 1 still needs work 2023-07-29 18:42:06 +03:00
Rhinemann c8fb25025c Changed BasicRegister.__init__() to accept decue instead of a list.
Inherited Counter from BasicRegister.
2023-06-28 14:49:35 +03:00
Rhinemann f1d348616a Merge pull request 'Add binary multiplication functions' (#3) from multiplication-implementation into master
Reviewed-on: #3
2023-06-28 14:19:28 +03:00
dymik739 9e06a93c19 remove redundant method: BasicRegister.compact_str() 2023-06-28 12:59:25 +03:00
dymik739 4e0e30383d add multiplication logging, include prettytable library and update input_handler menu structure 2023-06-28 12:36:02 +03:00
Rhinemann 421a94b195 Renamed reverse to negate. 2023-06-27 22:47:13 +03:00
dymik739 5a26802c34 optimize binary_sum_with_carry function by removing code repetition 2023-06-27 22:09:45 +03:00
dymik739 9925c22954 add support for all multiplication methods and extend input_handler menu structure 2023-06-27 22:00:15 +03:00
Rhinemann 6afb9151fe Documented all methods and functions. 2023-06-27 17:53:18 +03:00
Rhinemann 32cf1e8712 Documented all methods and functions. 2023-06-27 17:49:33 +03:00
Rhinemann c20aef323d Rewrote align_registers to accept any number of registers. 2023-06-27 17:49:03 +03:00
Rhinemann 32605e4b49 Introduced binary_sum_with_carry and rewrote binary_sum accordingly. 2023-06-27 17:05:40 +03:00
Rhinemann 0f94f6d37a Minor rewrites. 2023-06-27 16:43:18 +03:00
Rhinemann 9fedc98310 Implemented input_handler function. 2023-06-27 16:40:09 +03:00
Rhinemann b3c5011c11 Revamped function scopes. 2023-06-27 15:53:20 +03:00
Rhinemann f477c6f9e1 binary_subtraction_1_complement initial commit. 2023-06-27 15:34:39 +03:00
Rhinemann 544031efbb Just some testing. 2023-06-27 14:18:37 +03:00
Rhinemann d2df4bbf28 Renamed arguments inside binary_sum.
Added carry return (VERY NOT SURE IF IT WORKS CORRECTLY).
2023-06-27 14:18:10 +03:00
Rhinemann 132a0b5659 Changed the conditions checking register lengths. 2023-06-27 14:09:07 +03:00
Rhinemann 75f7dba546 Implemented __repr__ and __len__ for BasicRegister. 2023-06-27 14:07:47 +03:00
dymik739 f2ee4cd709 fix BasicRegister shrinking 2023-06-26 22:33:41 +03:00
Rhinemann 8f68099309 Minor adjustments to bitutilities.py. 2023-06-26 21:58:24 +03:00
Rhinemann a9cfd1ec97 Merge pull request 'Core: add the sum function for BasicRegister objects' (#1) from feature-sum into master
Reviewed-on: #1
2023-06-26 21:29:25 +03:00
dymik739 d25dacf35b add sum function for addition of two registers 2023-06-26 21:05:45 +03:00
Rhinemann 4dfd6ef417 revert 65750694e4
revert Delete 'bitutilities.py'
2023-06-26 00:26:09 +03:00
Rhinemann a6e4b4b4d6 revert e80304f84d
revert Delete 'main.py'
2023-06-26 00:24:47 +03:00
Rhinemann b64516243c revert 0dc2bd3950
revert Delete 'README.md'
2023-06-26 00:24:33 +03:00
Rhinemann d2eaf9fe76 revert c730e0d1bd
revert Rusty implementation.
2023-06-26 00:23:54 +03:00
Rhinemann c730e0d1bd Rusty implementation. 2023-06-26 00:24:45 +03:00
Rhinemann e80304f84d Delete 'main.py' 2023-06-26 00:15:11 +03:00
Rhinemann 65750694e4 Delete 'bitutilities.py' 2023-06-26 00:15:07 +03:00
Rhinemann 0dc2bd3950 Delete 'README.md' 2023-06-26 00:15:01 +03:00
Rhinemann ede83eeb8e Optimised reverse method (I have proofs of speed) (I have been slightly mistaken). 2023-06-25 22:57:12 +03:00
Rhinemann f747e3b530 Optimised reverse method (I have proofs of speed). 2023-06-25 22:33:52 +03:00
Rhinemann f508ca51c8 Modified prints for readability (again). 2023-06-25 22:32:34 +03:00
Rhinemann 66c9f833a6 Modified the way shifted radices are printed for readability. 2023-06-25 21:59:47 +03:00
Rhinemann e5a88058ed Swapped list for decue for BasicRegister's memory to optimise shifting methods for both directions.
Moved get_memory to the end.
2023-06-25 21:58:43 +03:00