10.10. MPFR-3.0.1

The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.

10.10.1. Installation of MPFR

Prepare MPFR for compilation:

CC="gcc -isystem /usr/include" \
LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
  ./configure --prefix=/usr --enable-shared \
    --with-gmp=/usr

Compile the package:

make
[Important]

Important

The test suite for MPFR is considered critical. Do not skip it under any circumstance.

Test the results:

make check

Install the package:

make install

10.10.2. Contents of MPFR

Installed libraries: libmpfr.[a,so]
Installed directory: /usr/share/doc/mpfr

Short Descriptions

libmpfr

The Multiple Precision Floating-Point Reliable Library.