MPFR 2.3.0 Release Candidate 2

Vincent Lefevre vincent at
Mon Aug 13 19:41:24 CEST 2007

The release of MPFR 2.3.0 is still imminent. Thanks very much to
those who tested the first release candidate. As there have been
significant changes, a second release candidate is necessary. You
can download it here:

The MD5's:
28df2b1d3bd0e0cb2fefdf3c5dede78e  mpfr-2.3.0-rc2.tar.bz2
39648dcd7160a3bda1ce581e0a0c8158  mpfr-2.3.0-rc2.tar.gz

Changes from versions 2.2.* to version 2.3.0:
- The file is now installed in the share subdirectory
  (as required by the Filesystem Hierarchy Standard); see output
  of "./configure --help".
- The shared library is now enabled by default. If the MPFR build
  fails on your platform, try the --disable-shared configure option
  to disable the shared library.
- New functions mpfr_j0, mpfr_j1, mpfr_jn, mpfr_y0, mpfr_y1, mpfr_yn,
  mpfr_lgamma, mpfr_remainder, mpfr_remquo, mpfr_fms, mpfr_signbit,
  mpfr_setsign, mpfr_copysign, mpfr_get_patches.
- Functions mpfr_sin, mpfr_cos and mpfr_sin_cos improved (argument
- More detailed MPFR manual.
- Improved tests (make check).
- Bug fixes.

Please send success and failure reports to <mpfr at>.

If no problems are found, MPFR 2.3.0 should be released in about 3 weeks.

Detailed changes from the RC1 to the RC2:
- New function mpfr_get_patches, to track patches that will be applied.
- New functions mpfr_signbit, mpfr_setsign, mpfr_copysign. The
  mpfr_copysign function was already existing, but was not documented
  (thus regarded as internal, though declared in mpfr.h) and slightly
  incompatible with IEEE 754; it has been changed to be similar to
  the IEEE-754 (and ISO C99) copysign function.
- Bug fixes.

Internal changes from the RC1 to the RC2:
- Support for tests of fixed values in the tests/data directory. This
  directory is not included in the archives as it would make them much
  bigger (2 to 3 times as large, depending on what values one chooses
  to include). As a consequence, "make check" doesn't return an error
  if these test files are missing.
- Moved mpfr-test.h into the tests directory (to make testing old MPFR
  versions with new tests easier).
- The mpfr_get_str function computed some constants at run time and
  cached them. This led to various problems. These constants are now
  hardcoded into get_str.c (and checked with "make check").

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the gmp-discuss mailing list