summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-03 11:04:57 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-03 11:04:57 +0000
commitbbe7386f6cd797358e3a83fd2f138fdbcdfdf56c (patch)
tree79a86b0e848ef1a75add3227b61bcdfa1f5cac51 /doc
parent2676172e01ec9873d9203e1c7d1500f0147bb023 (diff)
downloadmpfr-bbe7386f6cd797358e3a83fd2f138fdbcdfdf56c.tar.gz
[doc/mpfr.texi] document mpfr_compound
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14343 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpfr.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 67598d794..ca70ae7b2 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -2263,6 +2263,13 @@ We do not use the usual limit rules in this case, as these rules are not
used for @code{pow}.
@end deftypefun
+@deftypefun int mpfr_compound (mpfr_t @var{rop}, mpfr_t @var{op}, long int @var{n}, mpfr_rnd_t @var{rnd})
+Set @var{rop} to the power @var{n} of one plus @var{op},
+following IEEE@tie{}754-2019 for the special cases and exceptions.
+When @var{n} is zero and @var{op} is larger or equal @minus{}1,
+@var{rop} is set to 1 (IEEE@tie{}754-2019 also allows NaN).
+@end deftypefun
+
@deftypefun int mpfr_cos (mpfr_t @var{rop}, mpfr_t @var{op}, mpfr_rnd_t @var{rnd})
@deftypefunx int mpfr_sin (mpfr_t @var{rop}, mpfr_t @var{op}, mpfr_rnd_t @var{rnd})
@deftypefunx int mpfr_tan (mpfr_t @var{rop}, mpfr_t @var{op}, mpfr_rnd_t @var{rnd})
@@ -4147,6 +4154,8 @@ that were added after MPFR@tie{}2.2, and in which MPFR version.
@item @code{mpfr_cmpabs_ui} in MPFR@tie{}4.1.
+@item @code{mpfr_compound} in MPFR@tie{}4.2.0.
+
@item @code{mpfr_copysign} in MPFR@tie{}2.3.
Note: MPFR@tie{}2.2 had a @code{mpfr_copysign} function that was available,
but not documented,