MPIR (mathematics software)
Appearance
Developer(s) | William Hart and the MPIR Team |
---|---|
Stable release | 3.0.0
/ February 1, 2017 |
Written in | C, C++, assembly |
Operating system | Cross-platform |
Type | Mathematical software |
License | LGPL |
Website | mpir |
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:
- Developing parallel algorithms for multiprecision arithmetic including support for graphics processing units (GPU) and other multi-core processors.[citation needed]
- 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 optimised for many processors (CPUs). Assembly language code exists for these as of 2012[update]: 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
- Arbitrary-precision arithmetic, data type: bignum
- GNU Multiple Precision Arithmetic Library
- GNU Multiple Precision Floating-Point Reliably (MPFR)
- Class Library for Numbers supporting GiNaC