4 ms·
Easiest way to start with nim is via choosenim: https://github.com/dom96/choosenim https://github.com/dom96/choosenim then `nimble install https://github.com/s
by mratsim 8y ago
Easiest way to start with nim is via choosenim: https://github.com/dom96/choosenim https://github.com/dom96/choosenim
then `nimble install https://github.com/status-im/nim-stint` https://github.com/status-im/nim-stint`
Unfortunately I didn't have time to focus on documentation but the easiest way to get started with Stint is to check the tests: https://github.com/status-im/nim-stint/tree/master/tests https://github.com/status-im/nim-stint/tree/master/tests.
The casts are there to check binary representation compatibility in the tests and are not needed otherwise.
Alternatively you can check:
- https://github.com/FedeOmoto/nim-gmp https://github.com/FedeOmoto/nim-gmp, A GMP wrapper (very low-level/C-like and not updated since 2015)
- https://github.com/status-im/nim-decimal https://github.com/status-im/nim-decimal, a arbitrary-precision floating point wrapper to MpDecimal (used by python). Unfortunately it's very low-level/C-like at the moment.