MPC (http://www.multiprecision.org/index.php?prog=mpc) is C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. According to the webpage of MPC, it carries on the idea of the IEEE-745 standard for fixed precision real floating point numbers to complex numbers, providing well-defined semantics for every operation. The design goal of this library is fast operation with high precision.
To install MPC on Mac OS X, please use homebrew. You have to install homebrew on Mac before working on MPC. In this article, Mac OS X Mavericks 10.9.3 is used.
$ brew install mpc
To check whether the installation of MPC is succeed or not, please examine the information of the installed MPC and the contents of the directories. If MPC is successfully installed, the information and contents appear as applying the command and examining the directories.
$ brew info libmpc
Code>
Code>