jangko
8c1e43f001
fix shlAddMod SIGFPE bug
2023-06-22 16:43:31 +07:00
jangko
21eeee72df
nimvm bug workaround
2023-06-14 17:41:02 +07:00
jangko
76b2baad6f
signed int signedness
2023-06-13 19:09:43 +07:00
jangko
63a32129c8
rebase and try to make it works with clients
2023-06-12 20:26:36 +07:00
Mamy Ratsimbazafy
27e9c9e441
Add randomized testing, harden against edge cases
2023-06-12 17:12:43 +07:00
Mamy Ratsimbazafy
4660dfe4a4
Use littleEndian for limb-endianness: bigEndian arch are very rare, untestable in CI, a pain to maintain and an intermediate serialization step instead of casting is cheap
2023-06-12 17:11:14 +07:00
Mamy Ratsimbazafy
7efa2483e4
Division/modulo implemented - pass property-based testing vs ttmath
2023-06-12 17:11:13 +07:00
Mamy Ratsimbazafy
53d2fd14f3
uint division - compile and pass the single limb tests
2023-06-12 17:11:13 +07:00
Mamy Ratsimbazafy
c2ed8a4bc2
stash div refactor
2023-06-12 17:11:09 +07:00
Mamy André-Ratsimbazafy
f952314c21
dump progress
2023-06-12 17:08:22 +07:00
tersec
95b91474ce
remove Nim 1.2 and 1.4 support
2023-06-08 11:08:27 +00:00
tersec
3472a16fbc
avoid deprecation warnings on Nim 1.6 when using ( #121 )
2023-02-07 13:41:40 +01:00
Kim De Mey
e656ad40d1
Enable --styleCheck:usages ( #118 )
2022-02-24 20:09:53 +01:00
Jacek Sieka
c5247e9d88
stew updates ( #82 )
...
* simplify int api (fixes #68 )
* implement endians api
* implement some more bitops
2019-07-22 09:53:58 +02:00
Jacek Sieka
9c51f9e7d5
use bitops2 from shims ( #77 )
2019-05-09 21:46:40 +02:00
Ștefan Talpalaru
6853ebe97c
assert() -> doAssert()
2019-03-14 03:43:51 +01:00
Ștefan Talpalaru
d002fbb155
fix breakage with Nim HEAD ( #73 )
2019-01-08 12:39:04 +01:00
Jacek Sieka
9027fbea3e
refactoring away for loop macros
...
* remove experimental for loop macro usage
* make implementation of several operations follow data structure
(recursive data -> recursive implementation)
* rename getSize -> bitsof to avoid bits vs bytes confusion
* fix potential 32-bit issue where asSignedWords cast to `int` even when
`uint64` was used as storage
* `hi` for signed ints now is signed - this replaces `asSignedWords` and
makes several int operations more natural
* fix bit size assert
2018-10-25 12:58:40 +02:00
mratsim
582466b625
Fix Generic Instantiation too nested in unittest ( https://github.com/status-im/nim-stint/pull/66#issuecomment-427557655 ) + Renable all tests
2018-10-08 21:11:06 +00:00
Yuriy Glukhov
ad09fe3a94
Corrected package structure
2018-05-08 17:42:42 +03:00