MPFR 2.1.2 requires GMP 4.1.0 or higher. This is the latest version of the 2.1 branch, which is no longer supported (newly discovered bugs will probably never be fixed on this branch). Please upgrade to MPFR 2.2.0 (or higher, when new versions are released).
MPFR 2.1.2 can be downloaded in the following archive formats:
The signatures can be checked with Laurent Fousse's key (or grab this key A1696D2B from the keyserver keyserver.noreply.org).
MPFR is also available as the official Debian package libmpfr-dev.
Fixed bug: exp(-eps) is sometimes wrong when
rounding toward zero (the test is also wrong). This is fixed by the
mpfr_exp
patch (with updated tests).
In addition to the bugs mentioned in the BUGS file:
mpfr_get_ld
, the rounding direction can be wrong
if |x| < LDBL_MIN
.The following bugs are present in MPFR 2.1.2, but are fixed in the 2.2 branch and above:
mpfr_sum
(more precisely, in the
mpfr_count_sort
internal function).MPN_COPY
may call memcpy
with identical
source and destination pointers; this is incorrect and may lead to an
incorrect behavior with some (rare?) C implementations.unsigned long
bit-fields are used
(this is a GCC extension and may not be supported by
other compilers).mpfr_set_str_binary
internal function;
they should not have any consequences with the current code.