[Gmp-commit] /var/hg/gmp-5.0: mp_bitcnt_t in the doc of mpf_class constructors

mercurial at gmplib.org mercurial at gmplib.org
Wed Jan 18 13:52:46 CET 2012


details:   /var/hg/gmp-5.0/rev/d466858140fc
changeset: 13501:d466858140fc
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Wed Jan 18 13:47:25 2012 +0100
description:
mp_bitcnt_t in the doc of mpf_class constructors

diffstat:

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

diffs (44 lines):

diff -r 26b089872ad2 -r d466858140fc ChangeLog
--- a/ChangeLog	Tue Jan 17 16:06:13 2012 +0100
+++ b/ChangeLog	Wed Jan 18 13:47:25 2012 +0100
@@ -1,3 +1,7 @@
+2012-01-18  Marc Glisse  <marc.glisse at inria.fr>
+
+	* doc/gmp.texi (mpf_class::mpf_class): Use mp_bitcnt_t.
+
 2012-01-17  Torbjorn Granlund  <tege at gmplib.org>
 
 	* Version 5.0.3 released.
diff -r 26b089872ad2 -r d466858140fc doc/gmp.texi
--- a/doc/gmp.texi	Tue Jan 17 16:06:13 2012 +0100
+++ b/doc/gmp.texi	Wed Jan 18 13:47:25 2012 +0100
@@ -6695,7 +6695,7 @@
 doesn't suit.
 
 @deftypefun {} mpf_class::mpf_class (type @var{op})
- at deftypefunx {} mpf_class::mpf_class (type @var{op}, unsigned long @var{prec})
+ at deftypefunx {} mpf_class::mpf_class (type @var{op}, mp_bitcnt_t @var{prec})
 Construct an @code{mpf_class}.  Any standard C++ type can be used, except
 @code{long long} and @code{long double}, and any of the GMP C++ classes can be
 used.
@@ -6719,7 +6719,7 @@
 @end deftypefun
 
 @deftypefun explicit mpf_class::mpf_class (mpf_t @var{f})
- at deftypefunx {} mpf_class::mpf_class (mpf_t @var{f}, unsigned long @var{prec})
+ at deftypefunx {} mpf_class::mpf_class (mpf_t @var{f}, mp_bitcnt_t @var{prec})
 Construct an @code{mpf_class} from an @code{mpf_t}.  The value in @var{f} is
 copied into the new @code{mpf_class}, there won't be any permanent association
 between it and @var{f}.
@@ -6729,9 +6729,9 @@
 @end deftypefun
 
 @deftypefun explicit mpf_class::mpf_class (const char *@var{s})
- at deftypefunx {} mpf_class::mpf_class (const char *@var{s}, unsigned long @var{prec}, int @var{base} = 0)
+ at deftypefunx {} mpf_class::mpf_class (const char *@var{s}, mp_bitcnt_t @var{prec}, int @var{base} = 0)
 @deftypefunx explicit mpf_class::mpf_class (const string& @var{s})
- at deftypefunx {} mpf_class::mpf_class (const string& @var{s}, unsigned long @var{prec}, int @var{base} = 0)
+ at deftypefunx {} mpf_class::mpf_class (const string& @var{s}, mp_bitcnt_t @var{prec}, int @var{base} = 0)
 Construct an @code{mpf_class} converted from a string using @code{mpf_set_str}
 (@pxref{Assigning Floats}).  If @var{prec} is given, the initial precision is
 that value, in bits.  If not, the default @code{mpf} precision


More information about the gmp-commit mailing list