MPIR (Multiple Precision Integers and Rationals) is an open source multiprecision integer (bignum) library forked from the GMP (GNU Multi Precision) project. It consists of much code from past GMP releases, in combination with much original contributed code. The basic interface is for C, but it also provides a C++ wrapper.
MPIR (Multiple Precision Integers and Rationals) is an open source multi-precision integer (bignum) library forked from the GMP (GNU Multi Precision) project. It consists of much code from past GMP releases, in combination with much original contributed code.
The basic interface is for C, but it also provides a C++ wrapper. The authors have, so far, preserved backwards compatibility with the GMP library.