MPIR (mathematics software)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
MPIR: Multiple Precision Integers and Rationals
DevelopersWilliam Hart and the MPIR Team
Stable release
3.0.0 / March 1, 2017; 9 years ago (2017-03-01)
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inC, C++, assembly
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemCross-platform
    TypeMathematical software
    LicenseLGPL
    Websitehttps://web.archive.org/web/20220204054313/http://www.mpir.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.

    According to the MPIR-devel mailing list, "MPIR is no longer maintained",[2] except for building the old code on Windows using new versions of Microsoft Visual Studio.

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

    • Maintaining compatibility with GMP – so that MPIR can be used as a replacement for GMP.
    • Providing build support for Linux, Mac OS, Solaris and Windows systems.
    • Supporting building MPIR using Microsoft based build tools for use in 32- and 64-bit versions of Windows.

    MPIR is optimized 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

    [edit | edit source]
    Library name Language License
    C, C++ LGPL
    Mpir.NET Archived 2017-10-26 at the Wayback Machine F#, C#, .NET LGPL

    See also

    [edit | edit source]

    Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]
    • GMP — official site of GNU Multiple Precision Arithmetic Library
    • MPFR — official site of GNU Multiple Precision Floating-Point Reliably