libtom/libtommath
View on GitHub ↗ ★ 814 C
LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2014-12-09 · latest 2024-07-17
20082026
-
It doesn't look especially specific to me - slightly hack the structure in https://github.com/libtom/libtommath to make sense to your garbage collector and you're pretty much done. That somewhat punts on the testing question but I doubt…
comment by JonChesterfield · 2024-07-17 · in Optimizing a bignum library for fun -
…details you could also have a look at Tom's book about bignum arithmetics. C.f. third paragraph of https://github.com/libtom/libtommath#summary The library evolved since then, so the algorithm documentation only exists in code nowadays.…
comment by jaeckel · 2024-07-17 · in Optimizing a bignum library for fun -
…levels of randomness, but only returning odd numbers turned out to be a bit of a problem. [0] https://github.com/libtom/libtommath/blob/develop/bn_mp_rand...
comment by glass- · 2014-12-09 · in Random in the wild