Announce: MPFR 2.4.0 is release

Vincent Lefevre vincent at
Mon Jan 26 18:07:40 CET 2009

MPFR 2.4.0 ("andouillette sauce moutarde") is now available for download 
from the MPFR web site:

Thanks very much to those who sent us bug reports and/or tested the release 

md5sum :
f5916d785d4f7e7282057f6a3ebff9ce  mpfr-2.4.0.tar.bz2
6a6162517d7e4f74900e86410f313be9  mpfr-2.4.0.tar.gz
64b0d60ee5c3833b943a75ae63724d1e  mpfr-2.4.0.tar.lzma

Changes from version 2.3.2 to version 2.4.0:
- MPFR is now a GNU package.
- Changes in the behavior of mpfr_strtofr and in its documentation
  concerning particular cases where the code and the documentation
  did not match; this change is also present in MPFR 2.3.1.
- Behavior of mpfr_check_range changed: if the value is an inexact
  infinity, the overflow flag is set (in case it was lost); this
  change is also present in MPFR 2.3.2.
- Function 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.4.0 may also fail.
- New functions:
  * between a MPFR number and a double: mpfr_add_d, mpfr_sub_d,
    mpfr_d_sub, mpfr_mul_d, mpfr_div_d, mpfr_d_div,
  * formatted input/output:
    mpfr_printf, mpfr_fprintf, mpfr_vprintf, mpfr_vfprintf,
    mpfr_sprintf, mpfr_snprintf, mpfr_vsprintf, mpfr_vsnprintf,
    mpfr_asprintf, mpfr_vasprintf.
  * mpfr_sinh_cosh, mpfr_li2, mpfr_modf, mpfr_fmod, mpfr_rec_sqrt.
- Configure test for TLS support.
- Get default $CC and $CFLAGS from gmp.h (__GMP_CC / __GMP_CFLAGS,
  which are available as of GMP 4.2.3).
- Documented the fact that mpfr_random and mpfr_random2 will be
  suppressed in the next release, and that the specification of
  mpfr_eq may change in the next release (for compatibility with
  the mpf layer of GMP).
- Bug fixes.

You can send success and failure reports to <mpfr at>, and give us 
the canonical system name as returned by the config.guess script, the 
processor and compiler version, in order to complete the "Platforms Known 
to Support MPFR" section of the MPFR 2.4.0 web page.


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