diff options
author | tege <tege@gmplib.org> | 2000-08-03 01:30:12 +0200 |
---|---|---|
committer | tege <tege@gmplib.org> | 2000-08-03 01:30:12 +0200 |
commit | cd175f9c2841bb36529bbdd165935f8751fcb1b3 (patch) | |
tree | 4f183e67ea5801b5ccbb292bf61502abec7e2ba8 | |
parent | a6ada8f692afb72a60641740b6f048f684587899 (diff) | |
download | gmp-cd175f9c2841bb36529bbdd165935f8751fcb1b3.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | gmp.texi | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -2,6 +2,8 @@ * Version 3.1 released. + * gmp.texi: Rephrase mpf_urandomb documentation. + * mpn/alpha/ev6: New directory with ev6/21264 optimized code. * mpn/alpha/ev6/addmul_1.asm: New file. * mpn/alpha/ev6/gmp-mparam.h: New file. @@ -2146,7 +2146,7 @@ number functions. @deftypefun void mpz_urandomb (mpz_t @var{rop}, gmp_randstate_t @var{state}, unsigned long int @var{n}) -Generate a uniform random integer in the range +Generate a uniformly distributed random integer in the range @ifnottex 0 to 2^@var{n} @minus{} 1, @end ifnottex @@ -2987,8 +2987,8 @@ the next higher integer, @code{mpf_floor} to the next lower, and @end deftypefun @deftypefun void mpf_urandomb (mpf_t @var{rop}, gmp_randstate_t @var{state}, unsigned long int @var{nbits}) -Generate a universally distributed random float in the interval 0 <= X < 1 of -size NBITS. +Generate a uniformly distributed random float such that 0 <= @var{rop} < 1, +with a mantissa of with @var{nbits} significant bits. The variable @var{state} must be initialized by calling one of the @code{gmp_randinit} functions (@ref{Random State Initialization}) |