8.20. MPFR-4.1.0

The MPFR package contains functions for multiple precision math.

Approximate build time: 0.8 SBU
Required disk space: 38 MB

8.20.1. Installation of MPFR

Update helper scripts to allow compilation on loongarch:

tar xf ../config-20210826.tar.xz --strip-components=1

Prepare MPFR for compilation:

./configure --prefix=/usr        \
            --disable-static     \
            --enable-thread-safe \
            --docdir=/usr/share/doc/mpfr-4.1.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 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.1.0

Short Descriptions

libmpfr

Contains multiple-precision math functions