[Gmp-commit] /var/hg/gmp-6.1: Document mpz_rrandomb's range more tightly.

mercurial at gmplib.org mercurial at gmplib.org
Sat Jun 11 10:35:23 UTC 2016


details:   /var/hg/gmp-6.1/rev/d36a95c046be
changeset: 16948:d36a95c046be
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sat Jun 11 12:35:09 2016 +0200
description:
Document mpz_rrandomb's range more tightly.

diffstat:

 doc/gmp.texi |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r ae64c48b5cd8 -r d36a95c046be doc/gmp.texi
--- a/doc/gmp.texi	Wed Apr 13 10:20:35 2016 +0200
+++ b/doc/gmp.texi	Sat Jun 11 12:35:09 2016 +0200
@@ -14,7 +14,7 @@
 This manual describes how to install and use the GNU multiple precision
 arithmetic library, version @value{VERSION}.
 
-Copyright 1991, 1993-2015 Free Software Foundation, Inc.
+Copyright 1991, 1993-2016 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document under
 the terms of the GNU Free Documentation License, Version 1.3 or any later
@@ -3946,7 +3946,7 @@
 binary representation.  Useful for testing functions and algorithms,
 since this kind of random numbers have proven to be more likely to
 trigger corner-case bugs.  The random number will be in the range
-0 to @m{2^n-1, 2^@var{n}@minus{}1}, inclusive.
+ at m{2^{n-1}, 2^@var{n at minus{}1}} to @m{2^n-1, 2^@var{n}@minus{}1}, inclusive.
 
 The variable @var{state} must be initialized by calling one of the
 @code{gmp_randinit} functions (@ref{Random State Initialization})


More information about the gmp-commit mailing list