6.15. MPFR-3.1.0

The MPFR package contains functions for multiple precision math.

Approximate build time: 1.1 SBU
Required disk space: 27.1 MB

6.15.1. Installation of MPFR

Apply a patch that fixes a number of bugs in MPFR-3.1.0

patch -Np1 -i ../mpfr-3.1.0-fixes-1.patch

Prepare MPFR for compilation:

./configure --prefix=/usr --enable-thread-safe \
  --docdir=/usr/share/doc/mpfr-3.1.0

Compile the package:

make
[Important]

Important

The test suite for MPFR in this section is considered critical. Do not skip it under any circumstances.

Test the results and ensure that all tests passed:

make check

Install the package:

make install

Install the documentation:

make html
make install-html

6.15.2. Contents of MPFR

Installed Libraries: libmpfr.{a,so}
Installed directory: /usr/share/doc/mpfr-3.1.0

Short Descriptions

libmpfr

Contains multiple-precision math functions.