Library containing a UInt128 class, and extensions to .Net's built in integral data types.
The package targets .NET Standard 1.0. It was originally written by Steve Hatchett.
The methods in this library were written with speed in mind. UInt128 operations are generally much faster than BigInteger.
Includes an IsPrime method for ulong that's pretty fast even for ulong values near MaxValue, as it uses the Miller-Rabin algorithm that's deterministic (not probable) over the range of ulong values.
2.3: Added to's complement operator on UInt128.
2.2: Added bitwise xor operator on UInt128.
2.1: Ported to .NET Standard.
2.0.1: Added IComparable interface implementations to UInt128.
2.0.0: First NuGet release. Added UInt128 class, removed dependency on BigInteger, numerous other improvements.
1.0.0: First release, via http://blog.softwx.net
- NETStandard.Library (>= 1.6.1)