Jump to content

MPIR (mathematics software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2601:805:8103:553c:d5b0:53c8:f5ad:cec6 (talk) at 13:23, 17 March 2018 (Correct 3.0.0 release date). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

MPIR: Multiple Precision Integers and Rationals
Developer(s)William Hart and the MPIR Team
Stable release
3.0.0 / February 1, 2017; 7 years ago (2017-02-01)
Written inC, C++, assembly
Operating systemCross-platform
TypeMathematical software
LicenseLGPL
Websitempir.org

Multiple Precision Integers and Rationals (MPIR) is an open-source software multiprecision integer library forked from the GNU Multiple Precision Arithmetic Library (GMP) project. It consists of much code from past GMP releases, and some original contributed code.[1]

According to the MPIR developers, some of the main goals of the MPIR project are:

MPIR is optimised for many processors (CPUs). Assembly language code exists for these as of 2012: ARM, DEC Alpha 21064, 21164, and 21264, AMD K6, K6-2, Athlon, K8 and K10, Intel Pentium, Pentium Pro-II-III, Pentium 4, generic x86, Intel IA-64, Core 2, i7, Atom, Motorola-IBM PowerPC 32 and 64, MIPS R3000, R4000, SPARCv7, SuperSPARC, generic SPARCv8, UltraSPARC.

Language bindings

Library name Language License
MPIR C, C++ LGPL
Mpir.NET F#, C#, .NET LGPL

See also

References

  • MPIR — official site of MPIR: Multiple Precision Integers and Rationals
  • GMP — official site of GNU Multiple Precision Arithmetic Library
  • MPFR — official site of GNU Multiple Precision Floating-Point Reliably