Skip to content

A binding of MPFR and MPIR (Multiple Precision Floating-Point and Integer) for .NET

Notifications You must be signed in to change notification settings

dlebansais/MpfrDotNet

Repository files navigation

MpfrDotNet

A binding of MPFR and MPIR (Multiple Precision Floating-Point and Integer) for .NET.

This binding is up to date with version 4.2.1 of the mpfr library.

Build status codecov

Instructions

  • Install Visual Studio 2022.
  • Clone this repository locally.
  • Open MpfrDotNet.sln with Visual Studio 2022.
  • Select the Debug or Release build in the toolbar.
  • Rebuild the solution (F5 or from the Build / Rebuild Solution menu).

Resulting files are in the MpfrDotNet\bin\x64 subdirectory:

  • mpfr.dll, for multiple precision floating-point support.
  • mpir.dll, for multiple precision integer and rational support.
  • The MpfrDotNet assembly.

Package

This project is also available as a package. See the right pane of the project page for links.

The package includes:

  • In the MpfrDotNet namespace.
    • mpfr static class with bindings to almost all functions listed in the MPFR documentation.
    • mpfr_t an implementation of a Multiple Precision Floating-Point type.
  • In the MpirDotNet namespace.
    • mpir static class with bindings to almost all functions listed in the MPIR documentation.
    • mpz_t an implementation of a Multiple Precision Integer type.
    • mpq_t an implementation of a Multiple Precision Rational type.
    • mpf_t an implementation of a Multiple Precision Floating-Point type. This type has less features than the more complete mpfr_t.

Credits, Copyright, License...

See the Linux-style README and README.

About

A binding of MPFR and MPIR (Multiple Precision Floating-Point and Integer) for .NET

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages