GNU MPFR version 4.0.2 (released on 31 January 2019)
The dinde aux marrons release.
MPFR 4.0.2 requires GMP 5.0 or higher.
Warning! Due to the fact that TLS support is now detected automatically, the MPFR build can be incorrect on some platforms (compiler or system bug). Indeed, the TLS implementation of some compilers/platforms is buggy, and MPFR cannot detect every problem at configure time. Please run make check
to see if your build is affected. If you get failures, you should try the --disable-thread-safe configure option to disable TLS and see if this solves these failures. But you should not use an MPFR library with TLS disabled in a multithreaded program (unless you know what you are doing).
Download
The MPFR 4.0.2 source can be downloaded in the following archive formats:
- mpfr-4.0.2.tar.xz (tar/xz, 1.4 MB, signature),
- mpfr-4.0.2.tar.bz2 (tar/bzip2, 1.6 MB, signature),
- mpfr-4.0.2.tar.gz (tar/gzip, 2.2 MB, signature),
- mpfr-4.0.2.zip (zip, 2.6 MB, signature).
Each tarball is signed by Vincent Lefèvre. This can be verified using the DSA key ID 980C197698C3739D; this key can be retrieved with:
gpg --recv-keys 980C197698C3739D
or by downloading it from https://www.vinc17.net/pgp.html. The key fingerprint is:
07F3 DBBE CC1A 3960 5078 094D 980C 1976 98C3 739D
The signatures can be verified with:
gpg --verify file.asc
You should check that the key fingerprint matches.
MPFR is also available via third-party packages and ports.
Documentation
Bugs
See the tracker and the BUGS file.
Changes from version 4.0.1 to version 4.0.2
- Corrected minimal GMP version in the INSTALL file and the MPFR manual.
- Option -pedantic is now always removed from __GMP_CFLAGS (see INSTALL).
- Shared caches: cleanup; really detect lock failures (abort in this case).
- Improved MPFR manual. In particular, corrected/completed the mpfr_get_str description in order to follow the historical behavior and GMP's mpf_get_str function.
- Bug fixes (see ChangeLog file).
MPFR 4.0.2 has been successfully
compiled and checked on the following platforms:
- aarch64-unknown-linux-gnu (gcc 4.8.4),
- amd64-unknown-openbsd6.2 (OpenBSD 6.2, gcc 4.2.1),
- i386-pc-solaris2.10 (gcc 5.5.0),
- i586-mingw32msvc (Wine, gcc 7.3),
- powerpc-ibm-aix7.2.0.0 (POWER8, gcc 7.2.0),
- powerpc64-unknown-linux-gnu (POWER7, gcc 4.8.5),
- powerpc64le-unknown-linux-gnu (POWER8, gcc 4.8.5; POWER9, gcc 8.2.1),
- sparc-sun-solaris2.9 (gcc 4.6.4),
- sparc64-unknown-linux-gnu (gcc 8.2.0),
- x86_64-pc-linux-gnu (gcc 4.7.4, 4.8.5, 4.9.4, 5.5.0, 6.3.0, 6.5.0, 8.2.0 and 9.0.0 snapshot, g++ 4.9.4 and 8.2.0, clang 3.4.2, 3.5.2, 3.6.2, 3.7.1, 3.8.1, 3.9.1 and 4.0.1, icc 15.0.0, and tcc 0.9.27),
- x86_64-unknown-freebsd11.1 (FreeBSD 11.1-RELEASE-p7, clang 4.0.0),
- x86_64-unknown-netbsd7.1 (NetBSD 7.1, gcc 4.8.5).
Back to the MPFR page.