labs.beatcraft.com
OS X
Installing MPC on Mac OS X †
About MPC †
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.
Installing MPC on Mac OS X †
To install MPC on Mac OS X, please use homebrew. You have to install homebrew on Mac before working on MPC. (To know how to install homebrew, please visit this page.) 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.
- Apply the command line below
$ brew info libmpc
libmpc: stable 1.0.2 (bottled)
http://multiprecision.org
/usr/local/Cellar/libmpc/1.0.2 (10 files, 384K) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/libmpc.rb
==> Dependencies
Required: gmp レ, mpfr レ
Revision History †
- 2015/01/06 This article is initially uploaded