Elm's native integer type uses raw JavaScript integers which are limited in size (MDN). Sometimes, we want more.
This package provides a BigInt
type and associated functions so that you can work with integers of unlimited size at the cost of some speed. Benchmarks included.
are very welcome!
- Thank you Javier Casas whose elm-integer is the basis for this fork.
- Thank you gilbertkennen whose bigint is basically the verbatim basis for this repository.
- Thank you hickscorp whose bigint for the further work on top of the original BigInt library.