6.19. MPC-1.0.3

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.3 SBU
Required disk space: 11.2 MB

6.19.1. Installation of MPC

Prepare MPC for compilation:

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

Compile the package and generate the HTML documentation:

make
make html

To test the results, issue:

make check

Install the package and its documentation to a temporary directory:

make install DESTDIR=$(pwd)/debian/tmp
make install-html DESTDIR=$(pwd)/debian/tmp

Create the package archive:

buildpkg

Install the package:

dpkg -i ../mpc_1.0.3_*.deb

6.19.2. Contents of MPC

Installed Libraries: libmpc.{a,so}
Installed Directory: /usr/share/doc/mpc-1.0.3

Short Descriptions

libmpc

Contains complex math functions