NuGet Gallery Feed for SoftWx.NumericsLibrary containing a UInt128 class, and extensions to .Net's built in integral data types.
The version targeting .Net 4.5 is implemented as a Portable Class Library.
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.https://www.nuget.org/packages/SoftWx.Numerics/2018-12-13T12:02:37Zhttps://api.nuget.org/v3-flatcontainer/softwx.numerics/2.0.1/iconhttps://www.nuget.org/packages/SoftWx.Numerics/2.0.1SoftWx.Numerics 2.0.12016-02-13T06:10:28Z2018-12-13T12:02:37Zsoftwxhttps://www.nuget.org/profiles/softwxLibrary containing a UInt128 class, and extensions to .Net's built in integral data types.
The version targeting .Net 4.5 is implemented as a Portable Class Library.
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.