Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Go to file
mratsim 00040e4d38 45% faster division with 45% faster shifts (and maintainable). Fixes #1 2018-02-17 01:11:18 +01:00
src 45% faster division with 45% faster shifts (and maintainable). Fixes #1 2018-02-17 01:11:18 +01:00
tests Add comparison operators + tests + fix shr forward declaration 2018-02-16 17:48:54 +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 Update README with build status 2018-02-16 11:48:56 +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)

Build Status (Travis) 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