diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gmp.texi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index 60022bbd8..7b3fa5de6 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -6540,7 +6540,7 @@ mpz_fdiv_q (q.get_mpz_t(), a.get_mpz_t(), d.get_mpz_t()); @end example @end deftypefun -@deftypefun mpz_class abs (mpz_class @var{op1}) +@deftypefun mpz_class abs (mpz_class @var{op}) @deftypefunx int cmp (mpz_class @var{op1}, type @var{op2}) @deftypefunx int cmp (type @var{op1}, mpz_class @var{op2}) @maybepagebreak @@ -6561,6 +6561,9 @@ mpz_fdiv_q (q.get_mpz_t(), a.get_mpz_t(), d.get_mpz_t()); @deftypefunx int mpz_class::set_str (const string& @var{str}, int @var{base}) @deftypefunx int sgn (mpz_class @var{op}) @deftypefunx mpz_class sqrt (mpz_class @var{op}) +@maybepagebreak +@deftypefunx void mpz_class::swap (mpz_class& @var{op}) +@deftypefunx void swap (mpz_class& @var{op1}, mpz_class& @var{op2}) These functions provide a C++ class interface to the corresponding GMP C routines. @@ -6632,6 +6635,9 @@ form, and will return results in canonical form. @deftypefunx int mpq_class::set_str (const char *@var{str}, int @var{base}) @deftypefunx int mpq_class::set_str (const string& @var{str}, int @var{base}) @deftypefunx int sgn (mpq_class @var{op}) +@maybepagebreak +@deftypefunx void mpq_class::swap (mpq_class& @var{op}) +@deftypefunx void swap (mpq_class& @var{op1}, mpq_class& @var{op2}) These functions provide a C++ class interface to the corresponding GMP C routines. @@ -6774,6 +6780,9 @@ with the builtin float types. @deftypefunx int mpf_class::set_str (const string& @var{str}, int @var{base}) @deftypefunx int sgn (mpf_class @var{op}) @deftypefunx mpf_class sqrt (mpf_class @var{op}) +@maybepagebreak +@deftypefunx void mpf_class::swap (mpf_class& @var{op}) +@deftypefunx void swap (mpf_class& @var{op1}, mpf_class& @var{op2}) @deftypefunx mpf_class trunc (mpf_class @var{op}) These functions provide a C++ class interface to the corresponding GMP C routines. |