summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-08-03 01:30:12 +0200
committertege <tege@gmplib.org>2000-08-03 01:30:12 +0200
commitcd175f9c2841bb36529bbdd165935f8751fcb1b3 (patch)
tree4f183e67ea5801b5ccbb292bf61502abec7e2ba8
parenta6ada8f692afb72a60641740b6f048f684587899 (diff)
downloadgmp-cd175f9c2841bb36529bbdd165935f8751fcb1b3.tar.gz
*** empty log message ***
-rw-r--r--ChangeLog2
-rw-r--r--gmp.texi6
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b29d1be1b..66a223708 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/gmp.texi b/gmp.texi
index 0cc38bf1b..8187627ae 100644
--- a/gmp.texi
+++ b/gmp.texi
@@ -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})