[Gmp-commit] /var/hg/gmp: mp_bitcnt_t in the doc. The C++ random class still ...

mercurial at gmplib.org mercurial at gmplib.org
Sun May 8 14:40:50 CEST 2011


details:   /var/hg/gmp/rev/cc3096512a6c
changeset: 14177:cc3096512a6c
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Sun May 08 14:40:47 2011 +0200
description:
mp_bitcnt_t in the doc. The C++ random class still needs auditing.

diffstat:

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

diffs (23 lines):

diff -r 60f70d394fc2 -r cc3096512a6c ChangeLog
--- a/ChangeLog	Sun May 08 14:31:01 2011 +0200
+++ b/ChangeLog	Sun May 08 14:40:47 2011 +0200
@@ -1,6 +1,7 @@
 2011-05-08  Marc Glisse  <marc.glisse at inria.fr>
 
 	* gmpxx.h: Replace unsigned long with mp_bitcnt_t in many places.
+	* doc/gmp.texi: Likewise.
 
 2011-05-06  Marc Glisse  <marc.glisse at inria.fr>
 
diff -r 60f70d394fc2 -r cc3096512a6c doc/gmp.texi
--- a/doc/gmp.texi	Sun May 08 14:31:01 2011 +0200
+++ b/doc/gmp.texi	Sun May 08 14:40:47 2011 +0200
@@ -6841,7 +6841,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