Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Go to file
mratsim 994be7fa61 We aren't using Karatsuba actually but school-grade naive mul 2018-02-16 11:01:03 +01:00
src We aren't using Karatsuba actually but school-grade naive mul 2018-02-16 11:01:03 +01:00
tests Karatsuba: shift constant was hardcoded + Add full overflow tests 2018-02-16 09:40:21 +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