Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Go to file
mratsim cd7929f187 Add continuous integration 2018-02-16 11:45:45 +01:00
src Use Nim input convention x, y instead of a,b 2018-02-16 11:38:48 +01:00
tests Karatsuba: shift constant was hardcoded + Add full overflow tests 2018-02-16 09:40:21 +01:00
.appveyor.yml Add continuous integration 2018-02-16 11:45:45 +01:00
.gitignore initial commit 2018-02-15 13:11:01 +01:00
.travis.yml Add continuous integration 2018-02-16 11:45:45 +01:00
LICENSE initial commit 2018-02-15 13:11:01 +01:00
README.md initial commit 2018-02-15 13:11:01 +01:00
mpint.nimble use C backend by default for testing 2018-02-15 15:09:58 +01:00

README.md

Mpint (Multi-precision integers)

License: MIT Stability: experimental

A fast and portable multi-precision integer library in pure Nim

Main focus:

  • no heap/dynamic allocation
  • uint256 for cryptographic and ethereum blockchain usage.
  • ARM portability for usage on mobile phones
  • Ease of use:
    • casting to and from array of bytes
    • converting to and from Hex
    • converting to and from decimal strings