26 Commits

Author SHA1 Message Date
132a0b5659 Changed the conditions checking register lengths. 2023-06-27 14:09:07 +03:00
75f7dba546 Implemented __repr__ and __len__ for BasicRegister. 2023-06-27 14:07:47 +03:00
f2ee4cd709 fix BasicRegister shrinking 2023-06-26 22:33:41 +03:00
8f68099309 Minor adjustments to bitutilities.py. 2023-06-26 21:58:24 +03:00
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
d25dacf35b add sum function for addition of two registers 2023-06-26 21:05:45 +03:00
4dfd6ef417 revert 65750694e45aff9e9319c674d0a11fc2ad23aca1
revert Delete 'bitutilities.py'
2023-06-26 00:26:09 +03:00
a6e4b4b4d6 revert e80304f84dcfeabdeb940f4b3266684bf7e282a9
revert Delete 'main.py'
2023-06-26 00:24:47 +03:00
b64516243c revert 0dc2bd39506b0d78bf7835371c96645746c8b283
revert Delete 'README.md'
2023-06-26 00:24:33 +03:00
d2eaf9fe76 revert c730e0d1bdffded978d064ffba111a5f119a5be7
revert Rusty implementation.
2023-06-26 00:23:54 +03:00
c730e0d1bd Rusty implementation. 2023-06-26 00:24:45 +03:00
e80304f84d Delete 'main.py' 2023-06-26 00:15:11 +03:00
65750694e4 Delete 'bitutilities.py' 2023-06-26 00:15:07 +03:00
0dc2bd3950 Delete 'README.md' 2023-06-26 00:15:01 +03:00
ede83eeb8e Optimised reverse method (I have proofs of speed) (I have been slightly mistaken). 2023-06-25 22:57:12 +03:00
f747e3b530 Optimised reverse method (I have proofs of speed). 2023-06-25 22:33:52 +03:00
f508ca51c8 Modified prints for readability (again). 2023-06-25 22:32:34 +03:00
66c9f833a6 Modified the way shifted radices are printed for readability. 2023-06-25 21:59:47 +03:00
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
198e984e32 Commit. 2023-06-25 19:39:37 +03:00
9118bb16a9 Simplified the __str__ method. 2023-06-18 15:02:29 +03:00
0a956e8500 Changed the get_memory check for number. 2023-06-18 14:52:56 +03:00
9f12616eca Shift methods updated. 2023-06-18 14:51:13 +03:00
5fece34356 README initial writeup. 2023-06-17 22:00:35 +03:00
efd2b52965 Initial prototype. 2023-06-17 21:51:59 +03:00
88bd42b52e Initial commit 2023-06-17 21:44:27 +03:00