Library that exposes to .NET (through P-Invoke and .NET types) all of the functionality of the GNU MP Library.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Documentation
Math.Gmp.Native.UnitTests
Math.Gmp.Native
NuGet
docs
packages
.gitattributes
.gitignore
LICENSE.md
Math.Gmp.Native.sln
README.md
ReadMe.txt

README.md

Welcome to the GMP Native Interface for .NET Library

The GMP Native Interface for .NET Library exposes to .NET (through P-Invoke and .NET types) all of the functionality of the GNU MP Library (version 6.1.2). It automatically loads at runtime the 32-bit or 64-bit GNU MP library that matches the current CPU architecture, thus allowing building Visual Studio Projects for AnyCPU, x86, or x64. It is based on the GNU MP "fat" build which automatically detects the current CPU type, and selects any available assembly language code optimization for that CPU, thus providing optimal performance.

Documentation

  • On-line help is available here.

NuGet

The GMP Native Interface for .NET library can be installed in your Visual Studio solution or project with this NuGet package.

Latest Build

The build file includes the compiled library and the help file (.chm) ready to be included in your project. The x86 and x64 folders contain the compiled GNU MP Library and must be copied to the same folder as the Math.Gmp.Native.dll library. The library targets the .NET Framework 4.0, so it can be used with all newer versions of the .NET Framework. For other builds, see the Releases page.

NOTE: On some systems, the content of the ZIP file may be blocked. To unblock it, right click on the ZIP file, select Properties, and click on the Unblock button, if it is present.

Making a Donation

You can make a donation to support this project by clicking on the PayPal Donate button below. PayPal guarantees your privacy and security. I will not receive any details about your payment other than the amount, and your name.

PayPal - The safer, easier way to pay online!

Thanks to those who have made a donation. This is much appreciated!

Sharing