Introduction

GNU MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It extends the principles of the IEEE-754 standard for fixed precision real floating point numbers to complex numbers, providing well-defined semantics for every operation. At the same time, speed of operation at high precision is a major design goal.
The library is built upon and follows the same principles as GNU MPFR. It is written by Andreas Enge, Mickaël Gastineau, Philippe Théveny and Paul Zimmermann and is distributed under the GNU Lesser General Public License, either version 3 of the licence, or (at your option) any later version (LGPLv3+). The GNU 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 1.1.0, "Gladiolus palustris", released in January 2018, comes with the following new features:
- Minimally required library versions: gmp 5.0.0, mpfr 3.0.0
-
New functions:
mpc_cmp_abs
mpc_rootofunity
- Rewrite of the testing framework
-
New
mpcbench
tool, used withmake bench
-
Bug fixes and improvements of existing functions:
- Fixed compilation with mpfr 4.0.0
-
Fixed
handling of over- and underflows with directed rounding in the
"other direction" for
mpc_cos
,mpc_sin
,mpc_exp
andmpc_pow
-
Fixed a bug in
mpc_atan(0,y)
with |y| near 1