diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-11-28 11:34:34 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-11-28 11:34:34 +0000 |
commit | 616559fd6f98984c844be871296c0baca8e40806 (patch) | |
tree | 4f96c255b7af3a50fe1bd07b2efba6b48193f6e9 /doc | |
parent | 264ad7277dfe23e3170768e7dda3f39d012a70bb (diff) | |
download | mpfr-616559fd6f98984c844be871296c0baca8e40806.tar.gz |
Merged changesets r7965-7966 from the trunk:
[doc/mpfr.texi] Mentioned the difference between GMP 4.1 and 4.2 about
the changes of mpfr_urandom and mpfr_urandomb in MPFR 3.1.
[tests/trandom.c,tests/turandom.c] Fixed compatibility with GMP 4.1.x
(since the default PRNG has changed between GMP 4.1 and 4.2).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@7968 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mpfr.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi index 6cd2ad8f7..373640241 100644 --- a/doc/mpfr.texi +++ b/doc/mpfr.texi @@ -3466,8 +3466,9 @@ special behavior was specified). The case of the underflow flag was more a lack of specification. @item @code{mpfr_urandom} and @code{mpfr_urandomb} changed in MPFR 3.1. -Their behavior no longer depends on the platform (assuming this is also -true for GMP's random generator). As a consequence, the returned values +Their behavior no longer depends on the platform (assuming this is also true +for GMP's random generator, which is not the case between GMP 4.1 and 4.2 if +@code{gmp_randinit_default} is used). As a consequence, the returned values can be different between MPFR 3.1 and previous MPFR versions. Note: as the reproducibility of these functions was not specified before MPFR 3.1, the MPFR 3.1 behavior is @emph{not} regarded as |