[Gmp-commit] /var/hg/gmp-5.0: backport small doc patch with mp_bitcnt_t

mercurial at gmplib.org mercurial at gmplib.org
Wed Jan 18 13:57:47 CET 2012


details:   /var/hg/gmp-5.0/rev/a2d858d13a98
changeset: 13502:a2d858d13a98
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Wed Jan 18 13:57:43 2012 +0100
description:
backport small doc patch with mp_bitcnt_t

diffstat:

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

diffs (27 lines):

diff -r d466858140fc -r a2d858d13a98 ChangeLog
--- a/ChangeLog	Wed Jan 18 13:47:25 2012 +0100
+++ b/ChangeLog	Wed Jan 18 13:57:43 2012 +0100
@@ -131,6 +131,11 @@
 
 	* configure.in: Surround tr ranges with [] for portability.
 
+2011-05-08  Marc Glisse  <marc.glisse at inria.fr>
+
+	* doc/gmp.texi (gmp_randclass::get_f): Replace unsigned long
+	with mp_bitcnt_t.
+
 2011-05-07  Torbjorn Granlund  <tege at gmplib.org>
 
 	* Version 5.0.2 released.
diff -r d466858140fc -r a2d858d13a98 doc/gmp.texi
--- a/doc/gmp.texi	Wed Jan 18 13:47:25 2012 +0100
+++ b/doc/gmp.texi	Wed Jan 18 13:57:43 2012 +0100
@@ -6862,7 +6862,7 @@
 @end deftypefun
 
 @deftypefun mpf_class gmp_randclass::get_f ()
- at deftypefunx mpf_class gmp_randclass::get_f (unsigned long @var{prec})
+ at deftypefunx mpf_class gmp_randclass::get_f (mp_bitcnt_t @var{prec})
 Generate a random float @var{f} in the range @math{0 <= @var{f} < 1}.  @var{f}
 will be to @var{prec} bits precision, or if @var{prec} is not given then to
 the precision of the destination.  For example,


More information about the gmp-commit mailing list