Changes between Version 31 and Version 57 of Ticket #11666

02/21/12 23:51:14 (7 years ago)

I think the easiest solution is to limit the maximal precision in Sage to be slightly below 32-bit INT_MAX. The attached patches do that.


  • Ticket #11666

    • Property Keywords sd36 added
    • Property Work issues changed from failing doctests for 32 bits to correct doctests
  • Ticket #11666 – Description

    v31 v57  
    5 ----
    6 '''MPFR 3.0.1''' was released on April 4th 2011; there are already some [ additional upstream patches] for that version; see [].
    8 ----
    9 '''MPFR 3.1.0''' [ has been released October 3rd 2011].
    11 == Changes from versions 3.0.* to version 3.1.0: ==
    12  * The MPFR source has been reorganized.
    13  * Dropped `ansi2knr` support.
    14  * TLS support is now detected automatically. If TLS is supported, MPFR is built as thread safe by default. To disable TLS explicitly, configure MPFR with `--disable-thread-safe`.
    15  * New `--enable-gmp-internals` `configure` option to use GMP's undocumented functions (not from the public API). Note that library versioning is not guaranteed to work if this option is used.
    16  * The `mpfr_urandom()` and `mpfr_urandomb()` functions now return identical values on processors with different word size (assuming the same random seed, and since the GMP random generator does not depend itself on the word size, cf. []).
    17  * The `mpfr_add_one_ulp()` and `mpfr_sub_one_ulp()` macros (which are obsolete and no more documented) will be removed in a future release.
    18  * Speed improvement for the `mpfr_sqr()` and `mpfr_div()` functions using Mulders' algorithm. As a consequence, other functions using those routines are also faster.
    19  * Much faster formatted output (`mpfr_printf()`, etc.) with `%Rg` and similar.
    20  * The `--with-gmp-build` `configure` option can now be used when the GMP source directory and the GMP build directory are different (without having to copy header files manually as before).
    21  * New functions `mpfr_buildopt_tune_case()`, `mpfr_frexp()`, `mpfr_grandom()` and `mpfr_z_sub()`.
    22  * New division-by-zero exception (flag) and associated functions.
    23  * The `mpfr.h` header can be included several times, while still supporting optional functions (see Section "Headers and Libraries" in the manual).
    24  * Updated tuning parameters.
    25  * Improved MPFR manual.
    26  * MPFR tests: `libtool` no longer generates wrapper scripts with `make check` (so that running the tests under `valgrind` or `gdb` is easier).
    27  * Bug fixes.[[BR]] Note: The `mpfr_subnormalize()` implementation up to MPFR 3.0.0 did not change the flags. In particular, it did not follow the generic rule concerning the inexact flag (and no special behavior was specified). The case of the underflow flag was more a lack of specification.
    29 Tarballs are available in various formats (regarding the compression method); a bzipped one can be found [ here] (upstream).
     6  * [attachment:trac_11666_remove_random_hack.patch]
     7  * [attachment:trac_11666_reduce_precision_max.patch]
     8  * [attachment:trac_11666_fix_random_doctests.patch]