diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-08-23 10:08:57 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-08-23 10:08:57 +0000 |
commit | 1d89c95f4ee4a7228a356389670d02e8d6464852 (patch) | |
tree | 9879c3bc5f018a2b3878c4cfab6b8932b3bb4806 /NEWS | |
parent | e427601a22bd2fd7daab360b2072ca1097cc6447 (diff) | |
download | mpfr-1d89c95f4ee4a7228a356389670d02e8d6464852.tar.gz |
[src/urandom.c] Partly rewrote mpfr_urandom() so that the next
random state no longer depends on the current exponent range
and the rounding mode, and that the exceptions due to the
rounding of the random number are now correctly generated.
[doc/mpfr.texi] Updated the mpfr_urandom() documentation and
updated Section "API Compatibility / Changed Functions" to
mention the change in MPFR 4.0.
[NEWS] Mentioned the change for MPFR 4.0.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11650 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ Changes from versions 3.1.* to version 4.0.0: - The behavior of the mpfr_set_exp function changed, as it could easily yield undefined behavior in some cases (this modifies both the API and the ABI). +- In function mpfr_urandom, the next random state no longer depends on the + current exponent range and the rounding mode. The exceptions due to the + rounding of the random number are now correctly generated, following the + uniform distribution. - Function mpfr_grandom is deprecated and will be removed in a future release. - Complete rewrite of function mpfr_sum, which now works in all cases (the old one could take all the memory and/or crash with inputs of different |