MPFR 2.3.2 requires GMP 4.1.0 or higher.
The MPFR 2.3.2 source can be downloaded in the following archive formats:
Important note: If the MPFR build fails, please read the section In case of problem of the INSTALL file. In particular, GMP is known for using a different ABI from the default one on some 64-bit platforms, and in such a case, if you do not provide the same compiler flags as those automatically selected by GMP, things will probably go wrong, e.g. libgmp not found error message at configure time (this error message will be improved in future MPFR versions).
MPFR is also available via third-party packages and ports.
Incorrect directed rounding in mpfr_strtofr
. In mpfr_strtofr
, rounding "1.00000000000000000006" upward to 32 bits returns 1 with ternary value 0 instead of 1+ with positive ternary value. This bug also affects the result of mpfr_set_str
(as it is based on mpfr_strtofr
).
[Changesets:
de7f66aa (r5664),
d57e7e20 (r5752)]
Other bugs: please see the bug tracker and the BUGS file.
mpfr_check_range
changed: if the value is an
inexact infinity, the overflow flag is set (in case it was lost).mpfr_init_gmp_rand
(only defined when building
MPFR without the --with-gmp-build
configure option) is no longer defined at all. This function was private and
not documented, and was used only in the MPFR
test suite. User code that calls it is regarded as broken and may fail
as a consequence. Running the old test suite against
MPFR 2.3.2 may also fail.MPFR 2.3.2 has been successfully compiled and checked on the following platforms: