Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Go to file
mratsim fc6483d42e Implement addition (including proper overflow behaviour) 2018-02-15 20:26:10 +01:00
src Implement addition (including proper overflow behaviour) 2018-02-15 20:26:10 +01:00
tests Implement addition (including proper overflow behaviour) 2018-02-15 20:26:10 +01:00
.gitignore initial commit 2018-02-15 13:11:01 +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