Myria
Numbers without a ceiling.
What it is
Myria is an arbitrary-precision integer library that handles numbers far too large for native machine types. The signature design is sign-magnitude big integers stored over base-10^7 limbs, implementing schoolbook add and multiply, long division, fast exponentiation, factorial, and fast-doubling Fibonacci, with native BigInt used as the oracle across hundreds of random operations. It is a from-scratch, dependency-light build you can download and run locally.
Sign-magnitude big integers over base-10⁷ limbs: schoolbook add/multiply, long division, fast exponentiation, factorial, and fast-doubling Fibonacci. 14 tests using native BigInt as the oracle across hundreds of random operations.
What's inside
The full source, the tests, and CI. Open it, read it, change it. A zero-dependency core, free, in the MIT spirit.
Run it after unzip
pnpm install && pnpm dev