summaryrefslogtreecommitdiff
path: root/mpfr.texi
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-24 15:10:52 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-24 15:10:52 +0000
commit49406a145c30997c8c82d33696e2b3b1de930e0f (patch)
treecdbfe4f7bb654909abc38efbfa9c338cd8e6686e /mpfr.texi
parent11c3dc9d27bba40efffb25fb369d63df5de54402 (diff)
downloadmpfr-49406a145c30997c8c82d33696e2b3b1de930e0f.tar.gz
Move mpfr_random2 to tests directory, remove it from API.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6136 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r--mpfr.texi15
1 files changed, 0 insertions, 15 deletions
diff --git a/mpfr.texi b/mpfr.texi
index 5e1d2e820..13a2c072e 100644
--- a/mpfr.texi
+++ b/mpfr.texi
@@ -2403,21 +2403,6 @@ second argument is a @code{gmp_randstate_t} structure which should be
created using the GMP @code{gmp_randinit} function, see the GMP manual.
@end deftypefun
-@deftypefun void mpfr_random2 (mpfr_t @var{rop}, mp_size_t @var{size}, mp_exp_t @var{exp})
-Generate a random float of at most @var{size} limbs, with long strings of
-zeros and ones in the binary representation. The exponent of the number is in
-the interval @minus{}@var{exp} to @var{exp}.
-This function is useful for
-testing functions and algorithms, since this kind of random numbers have
-proven to be more likely to trigger corner-case bugs.
-Negative random numbers are generated when @var{size} is negative.
-Put +0 in @var{rop} when size if zero. The internal state of the default
-pseudorandom number generator is modified by a call to this function (the
-same one as GMP if MPFR was built using @samp{--with-gmp-build}).
-
-This function is deprecated and will be suppressed in the next release.
-@end deftypefun
-
@deftypefun mp_exp_t mpfr_get_exp (mpfr_t @var{x})
Get the exponent of @var{x}, assuming that @var{x} is a non-zero ordinary
number and the significand is chosen in [1/2,1). The behavior for NaN,