Next: MPC, Previous: BSD-MP, Up: ENT Basics [Contents][Index]
MPFR is a portable library for arbitrary precision arithmetic on floating-point numbers, based on the GMP library. It works similar to the MPF module of GMP, however the main differences with MPF are:
In particular, with a precision of 53 bits, mpfr should be able to exactly reproduce all computations with double-precision machine floating-point numbers (double type in C). Furthermore, MPFR comes with a heap of useful functions over the reals, like logarithms, trigonometrical functions and so forth.
The MPFR library is released under the GNU LGPL and can be obtained from http://www.mpfr.org. Please refer also to their documentation, and especially their instructions on how to install it.
Especially note that we currently do only support the standalone version of MPFR, and not the one distributed with GMP.