Introduction
Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr. The library is written by Andreas Enge, Philippe Théveny and Paul Zimmermann and is distributed under the Gnu Lesser General Public License, either version 2.1 of the license, or (at your option) any later version. The Mpc library has been registered in France by the Agence pour la Protection des Programmes on 2003-02-05 under the number IDDN FR 001 060029 000 R P 2003 000 10000.
News
Version 0.5.1, "Aconitum neomontanum", released in November 2008, comes with the following new features:
-
New functions
-
set_fr_fr -
real,imag -
arg,proj
-
-
New macros
-
Version number:
MPC_VERSION_MAJOR,MPC_VERSION_MINOR,MPC_VERSION_PATCHLEVEL,MPC_VERSION_STRING -
References to number parts:
realref,imagref
-
Version number:
- Rewritten test framework, leading to many...
-
Bug fixes
-
configurelooks forgmp(>= 4.2) first, then formpfr(>= 2.3.1) -
cos,div,div_fr,fr_sub,mul_fr,set_fr,sqr -
fixed handling of special values:
exp,log,mul,norm,sqr,sqrt
-
-
Optimisations:
mul_fr,sin,cos -
New
configureoptions:--with-gmp-lib,--with-gmp-include,--with-mpfr-lib,--with-mpfr-include -
Export declarations for MSWindows,
makefile.vcupdated (contributed by Mickaël Gastineau)
How to properly cite Mpc
@manual {mpc,
author = {Andreas Enge and Philippe Th\'eveny and Paul Zimmermann},
title = {mpc --- A library for multiprecision complex
arithmetic with exact rounding},
organization = {INRIA},
edition = {0.5.1},
year = {2008},
month = nov,
note = {\url{http://www.multiprecision.org/mpc/}}
}

