Portable class library for computations with big numbers such as Int128, Int256 and BigInteger.
C# PowerShell
Latest commit 07929b0 Oct 16, 2016 @intagger intagger Merge pull request #7 from schulz3000/corefx
Port to dotnet core

README.md

BigMath

Portable 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.

To install BigMath, run the following command in the Package Manager Console:

PM> Install-Package BigMath

Supported platforms:

  • .NET Framework 4.5
  • .NET for Windows Store apps
  • .NET for Windows Phone 8 apps
  • Portable Class Libraries

Some parts of the code is based on:

  1. Original sources from http://int128.codeplex.com/. Thanks to Simon Mourier.
  2. BigInteger from the Bouncy Castle.

Develop builds

BigMath build status

Donate

Bitcoin address: 1LMhfheXL9bRuYp6TeVCCvCfeEzVLqXJ2x