S# class library for computations with big numbers such as Int128
, Int256
and BigInteger
. There is also ExtendedBitConverter
which allows to convert regular and big numbers to/from array of bytes, with possibility of explicit setting of bytes order Big-endian/Little-endian.
Some parts of the code is based on:
- Original sources from https://github.com/everbytes/BigMath and http://int128.codeplex.com/. Thanks to Simon Mourier.
BigInteger
from the Bouncy Castle.