Commit Graph

14 Commits

Author SHA1 Message Date
jangko e99bc7ff89
add signed int modular arithmetic and tests 2023-06-20 21:38:02 +07:00
jangko 8ea95078f4
signed int addsub 2023-06-14 07:38:23 +07:00
jangko 612ecb3d9b
signed int comparison 2023-06-13 21:53:19 +07:00
jangko f07f574944
fix comparison 2023-06-13 20:39:22 +07:00
Kim De Mey e656ad40d1
Enable --styleCheck:usages (#118) 2022-02-24 20:09:53 +01:00
andri lim d98b77c88d fixes #94, implement conversion constructor 2019-12-13 16:19:41 +02:00
andri lim 8cc9116d1e cosmetics changes 2019-10-23 21:55:47 +09:00
andri lim c456190980 fixes operator precedence issue with nim 19.6 2019-10-23 21:55:47 +09:00
andri lim 84466dae0a improve int comparison coverage + compile time test 2019-10-23 21:55:47 +09:00
Mamy Ratsimbazafy f2d0eab153
Modular arithmetic (#47)
* Add isEven and isOdd functions

* Add modular add, mul, sub pow fixes #18
2018-05-16 10:41:46 +02:00
Yuriy Glukhov ad09fe3a94 Corrected package structure 2018-05-08 17:42:42 +03:00
mratsim d690923310 Update Stint in header + mention unsigned vs signed int in tests 2018-04-25 21:21:25 +02:00
mratsim 8b412b879d Add tests for negative numbers 2018-04-25 17:58:55 +02:00
mratsim b34019c0b5 Add signed initialization, bitwise ops, addition, negation 2018-04-25 17:50:53 +02:00