[Gmp-commit] /var/hg/gmp: mp_bitcnt_t in the doc of mpf_class constructors
mercurial at gmplib.org
mercurial at gmplib.org
Wed Jan 18 13:47:30 CET 2012
details: /var/hg/gmp/rev/eba4728eef07
changeset: 14574:eba4728eef07
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 fa8fec94b348 -r eba4728eef07 ChangeLog
--- a/ChangeLog Tue Jan 17 16:03:06 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>
* configure.in: Add ultrasparc T4 support.
diff -r fa8fec94b348 -r eba4728eef07 doc/gmp.texi
--- a/doc/gmp.texi Tue Jan 17 16:03:06 2012 +0100
+++ b/doc/gmp.texi Wed Jan 18 13:47:25 2012 +0100
@@ -6685,7 +6685,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.
@@ -6709,7 +6709,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}.
@@ -6719,9 +6719,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