Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Go to file
mratsim 35e80263a3 Add shift operators (WIP recursive implementation is slow) 2018-02-16 13:54:38 +01:00
src Add shift operators (WIP recursive implementation is slow) 2018-02-16 13:54:38 +01:00
tests Add shift operators (WIP recursive implementation is slow) 2018-02-16 13:54:38 +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