10.11. MPC-0.9

MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.

10.11.1. Installation of MPC

Prepare MPC for compilation:

CC="gcc -isystem /usr/include" \
LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
  EGREP="grep -E" ./configure --prefix=/usr

Compile the package:

make
[Important]

Important

The test suite for MPC is considered critical. Do not skip it under any circumstance.

Test the results:

make check

Install the package:

make install

10.11.2. Contents of MPC

Installed libraries: libmpc.[a,so]

Short Descriptions

libmpc

The Multiple Precision Complex Library.