Mamy Ratsimbazafy d5794ffbe1
Use word iteration for bitwise op (#22) + 10% perf improvement.
* Try with iterator (failing)

* Type resolution in macro for generic return values in iterators is broken ...

* Use iterators for bit operations. Optimize MpUint initialization

* Fix add_sub
2018-04-21 17:21:14 +02:00
2018-04-21 12:16:26 +02:00
2018-02-16 11:45:45 +01:00
2018-02-15 13:11:01 +01:00
2018-03-02 11:48:08 +01:00
2018-03-26 11:46:24 +02:00
2018-03-02 11:48:08 +01:00

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.

Description
Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Readme
Languages
Nim 83.8%
C++ 16.2%