10.10. MPFR-2.3.2

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

10.10.1. Installation of MPFR

The following patch contains a number of updates to the 2.3.2 branch by the MPFR developers:

patch -Np1 -i ../mpfr-2.3.2-branch_update-1.patch

Prepare MPFR for compilation:

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

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]

Short Descriptions

libmpfr

The Multiple Precision Floating-Point Reliable Library.