3 Commits

Author SHA1 Message Date
Jacek Sieka
b06bb210d9
Refresh endians2 (#160)
* speed up conversions by unrolling bulk limb conversion
* remove default from `toBytes`/`fromBytes` - the existing default did
not match `stew/endians2` which is an unnecessary risk - rather than
changing it to match, the safer option is to remove it for now so that
code in the wild gets a compile error
* deprecate redundant names like `toByteArrayXX` (`toBytesXX` etc do the
same thing)
* deprecate staticFor (now lives in stew)
2024-12-03 13:16:02 +01:00
Jacek Sieka
5c5e01cef0
fix compile-time hash, port to unittest2 (#145)
* enable compile-time testing for most of the test suite (some parts
that were skipping things turned out to be bugs)
* port to unittest2 and use its recent compile-time testing support
2024-11-25 14:17:39 +01:00
Mamy Ratsimbazafy
bff69b3f98
Add randomized testing vs GMP 2023-06-12 17:13:35 +07:00