10.16. MPC-1.0.2 64 Bit

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

10.16.1. Installation of MPC

Prepare MPC for compilation:

CC="gcc -isystem /usr/include ${BUILD64}" \
LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64 ${BUILD64}" \
  ./configure --prefix=/usr --libdir=/usr/lib64 \
  --docdir=/usr/share/doc/mpc-1.0.2

Compile the package:

make

Build the HTML documentation:

make html
[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

Install the HTML documentation:

make install-html

10.16.2. Contents of MPC

Installed libraries: libmpc.[a,so]
Installed directory: /usr/share/doc/mpc-1.0.2

Short Descriptions

libmpc

The Multiple Precision Complex Library.