8.20. MPFR-4.2.0

The MPFR package contains functions for multiple precision math.

Approximate build time: 0.2 SBU
Required disk space: 43 MB

8.20.1. Installation of MPFR

Fix a test case based on a bug of old Glibc releases:

sed -e 's/+01,234,567/+1,234,567 /' \
    -e 's/13.10Pd/13Pd/'            \
    -i tests/tsprintf.c

Prepare MPFR for compilation:

./configure --prefix=/usr        \
            --disable-static     \
            --enable-thread-safe \
            --docdir=/usr/share/doc/mpfr-4.2.0

Compile the package and generate the HTML documentation:

make
make html
[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 197 tests passed:

make check

Install the package and its documentation:

make install
make install-html

8.20.2. Contents of MPFR

Installed Libraries: libmpfr.so
Installed directory: /usr/share/doc/mpfr-4.2.0

Short Descriptions

libmpfr

Contains multiple-precision math functions