https://github.com/cmditch/elm-bigint
An elm implementation of the BigInt paradigm.
https://github.com/cmditch/elm-bigint
Last synced: 7 months ago
JSON representation
An elm implementation of the BigInt paradigm.
- Host: GitHub
- URL: https://github.com/cmditch/elm-bigint
- Owner: cmditch
- License: mit
- Created: 2018-09-30T17:08:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-21T09:10:04.000Z (8 months ago)
- Last Synced: 2025-07-21T09:12:50.235Z (8 months ago)
- Language: Elm
- Size: 21.5 KB
- Stars: 16
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog
- License: LICENSE
Awesome Lists containing this project
README
# bigint
Elm's native integer type uses raw JavaScript integers which are limited in size ([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER)). 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.
## Contributions
are very welcome!
## Aknowledgements
- Thank you [Javier Casas](https://github.com/javcasas) whose [elm-integer](https://github.com/javcasas/elm-integer) is the basis for this fork.
- Thank you [gilbertkennen](https://github.com/gilbertkennen) whose [bigint](https://github.com/gilbertkennen/bigint) is basically the verbatim basis for this repository.
- Thank you [hickscorp](https://github.com/hickscorp) whose [bigint](https://github.com/hickscorp/bigint) for the further work on top of the original BigInt library.