8.25. MPC-1.3.1

The MPC package contains a library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.

Approximate build time: 0.1 SBU
Required disk space: 22 MB

8.25.1. Installation of MPC

Prepare MPC for compilation:

./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/mpc-1.3.1

Compile the package and generate the HTML documentation:

make
make html

Test the results and ensure that all 74 tests passed, issue:

make check 2>&1 | tee mpc-check-log
awk '/# PASS:/{total+=$3} ; END{print total}' mpc-check-log

Install the package and its documentation:

make install
make install-html

8.25.2. Contents of MPC

Installed libraries: libmpc.so
Installed directory: /usr/share/doc/mpc-1.3.1

Short Descriptions

libmpc

Contains complex math functions