I have Ruby/Crystal code that uses arbitrary precision integer numbers (really BIG numbers). Looking at Nim's math libraries they don't appear to be arbitrary precision.
[https://nim-lang.org/docs/lib.html#pure-libraries-math-libraries](https://nim-lang.org/docs/lib.html#pure-libraries-math-libraries) I need at least the following operators: gcd(a,b) modinv(a,b) -> (a^-1) base b -> a*(a^-1) mod b = 1 modpow(a,e,b) -> a^e mod b intsqrt(a) -> a ^(1/2) introotn(a,n) -> a^(1/n) All the algorithms are fairly simple (a few lines of code), but does Nim use arbitrary math lib?