Commit Graph

44 Commits

Author SHA1 Message Date
Solomon Ucko
c392ba8633 stuff 2022-11-17 23:03:42 -05:00
Solomon Ucko
234fce4b92 improve test coverage 2022-08-14 23:53:30 -04:00
Solomon Ucko
81739a1311 fix SmallUint::partial_cmp 2022-08-14 16:49:42 -04:00
Solomon Ucko
2e081c03c5 add #[cfg(feature = "num-bigint")] to some test helper functions 2022-08-14 15:44:16 -04:00
Solomon Ucko
7702b67f07 impl BitAnd for BigUint, add lots of tests 2022-08-14 15:08:28 -04:00
Solomon Ucko
70bc33217c use unsigned_abs 2022-08-10 23:10:32 -04:00
Solomon Ucko
1b4407ab45 make heap_heap_return_* compatible with BigInt 2022-08-10 21:27:09 -04:00
Solomon Ucko
b04ccea008 parameterize references to u128 2022-08-10 21:04:19 -04:00
Solomon Ucko
f890aab454 improve some variable names 2022-08-10 20:56:30 -04:00
Solomon Ucko
586a0f427e fix -SmallInt::from(i128::MIN) 2022-08-10 00:16:26 -04:00
Solomon Ucko
3cd8536296 fix hard-coded references to SmallUint 2022-08-09 23:53:15 -04:00
Solomon Ucko
96f7b1a5ef eliminate free function 2022-08-09 23:45:26 -04:00
Solomon Ucko
06ce35aa69 refactor macro structure 2022-08-09 23:42:27 -04:00
Solomon Ucko
8cf2d6b870 use function names instead of punctuation 2022-08-09 22:15:45 -04:00
Solomon Ucko
ab76eb30f5 refactor some more 2022-08-09 22:13:10 -04:00
Solomon Ucko
570559ae27 fix some bugs 2022-08-09 21:51:42 -04:00
Solomon Ucko
45a3975d31 refactor logic.rs and optimize ...Assign impls (&* instead of clone) 2022-08-09 21:10:23 -04:00
Solomon Ucko
1fe105f58c stub implementation of Div and DivAssign for SmallInt and SmallUint 2022-08-09 20:43:15 -04:00
51f1c7d38a cleaning up code 2022-08-08 21:35:08 -04:00
2dc3f2472f 0.2.2 2022-08-08 00:23:27 -04:00
ef013a5b16 final formatting: 0.2.2 - todo: signed logic, assign ops, shifts, divrem, display 2022-08-08 00:22:57 -04:00
f9eb2a1afa all basic arith ops done (we don't talk about div) 2022-08-07 18:35:36 -04:00
2e04862fc1 fixed clone + ord + eq, need to fix signed add 2022-08-07 18:15:59 -04:00
df10924284 signed stuff - todo: test partialord / ord / add for SmallInt 2022-08-07 14:05:19 -04:00
cf9c8b0b78 fmt 2022-08-06 16:40:19 -04:00
64ad3189bf Merge branch 'ops' into 'master'
Basic operations for smalluint

See merge request artofrev/smallint!1
2022-08-06 20:39:04 +00:00
85babc5e11 basic logic for smalluint 2022-08-06 16:38:22 -04:00
543b4ef459 karatsuba fixed 2022-08-06 00:16:39 -04:00
4d6017b974 karatsuba multiplication: doesn't work yet 2022-08-06 00:08:25 -04:00
3510274fce mul 2022-08-05 07:45:20 -04:00
021454c438 fix add 2022-08-04 22:22:23 -04:00
2b09c240c4 add for smalluint - currently doesn't work 2022-08-04 00:31:20 -04:00
31ba185962 update location for repository 2022-08-03 13:50:56 -04:00
fca71af1df bump to 0.2.1 2022-08-03 00:11:50 -04:00
f313051907 add debug with num-bigint - TODO: add native debug 2022-08-03 00:03:36 -04:00
9fd27995b2 apply formatting 2022-08-02 23:37:59 -04:00
5eb006e4c7 ver. 0.2.0: add unsigned integer type; private raw fields 2022-08-02 23:33:31 -04:00
209cd7aa83 make authors an array 2022-08-02 22:11:42 -04:00
e57f6d8c43 0.1.0 2022-08-02 22:01:48 -04:00
0347b1f6d2 Merge remote-tracking branch 'refs/remotes/origin/master' 2022-08-02 09:21:03 -04:00
8718d65f90 drop refixed 2022-08-02 20:51:21 -04:00
bd10994f4e feature bigint 2022-08-02 09:21:00 -04:00
a5620cdda9 fix drop 2022-08-02 03:41:25 -04:00
c5e952d7d7 conversions 2022-08-02 08:55:59 -04:00