%general-entities; ]> mpc &mpc-version;
&mpc-url;
MPC-&mpc-version; MPC <para>The MPC package contains a library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&mpc-fin-sbu;</seg> <seg>&mpc-fin-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of MPC First, make a fix identified upstream: sed -i '273{ h; d; }; 274,286 { H; d; }; 287 G' src/mpc.h This sed is a little complex and needs some explanation. It holds the line 273 in a buffer, adds lines 274-286 to it. It then writes the buffer out after line 287 is read. The result is that the line 287 is moved upwards from an incorrect location to its correct location in an #ifdef block. Prepare MPC for compilation: ./configure --prefix=/usr \ --disable-static \ --docdir=/usr/share/doc/mpc-&mpc-version; Compile the package and generate the HTML documentation: make make html To test the results, issue: make check Install the package and its documentation: make install make install-html Contents of MPC Installed Libraries Installed Directory libmpc.so /usr/share/doc/mpc-&mpc-version; Short Descriptions libmpc Contains complex math functions libmpc