Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Go to file
mratsim 8a06bb28a0 Improve codegen for borrow. Fix #10 2018-04-20 11:55:15 +02:00
benchmarks 500% division speed increase with bigint twice the size 2018-03-28 20:50:17 +02:00
src Improve codegen for borrow. Fix #10 2018-04-20 11:55:15 +02:00
tests Division: Fix recursive divide-and-conquer (#20) 2018-04-20 11:13:47 +02: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 Use Status docker for continuous integration 2018-03-26 11:48:21 +02:00
LICENSE-APACHEv2 Relicense under dual Apache/MIT 2018-03-02 11:48:08 +01:00
LICENSE-MIT Relicense under dual Apache/MIT 2018-03-02 11:48:08 +01:00
README.md Relicense under dual Apache/MIT 2018-03-02 11:48:08 +01:00
mpint.nimble Make bits part of type (#6) 2018-03-26 11:46:24 +02:00

README.md

Mpint (Multi-precision integers)

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

License

Licensed under either of

at your option.