Section: Application Domains
Arithmetics
Another indirect transfer is the usage of Mpfr in gfortran (since 2004), and in Gcc , up from version 4.3 (released in 2008). mpfr is currently used at compile-time, to convert expressions like sin(3.1416) into fixed-precision IEEE 754 formats, when the rounding mode can be statically determined. The Mpfr library is also used by the cgal library for computational geometry developed by the Geometrica project-team (Inria Sophia Antipolis - Méditerranée).
The future release 4.5 of GCC will also require the Mpc library; similarly to Mpfr , Mpc will be used to fold at compile-time constant expressions involving complex floating-point numbers.