diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-02-04 14:20:46 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-02-04 14:20:46 +0000 |
commit | 830a678f69eb0bf6f8b0696231fc769c4538e89d (patch) | |
tree | 300ebd73a77726bce6aac9766e46c18faf167f68 /doc | |
parent | 2af0e13163a6767d9584612d99fb8360520dd875 (diff) | |
download | mpfr-830a678f69eb0bf6f8b0696231fc769c4538e89d.tar.gz |
compound(NaN,0) is 1
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14359 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mpfr.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi index f87600ca0..a00435dd2 100644 --- a/doc/mpfr.texi +++ b/doc/mpfr.texi @@ -2268,8 +2268,8 @@ used for @code{pow}. @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)@. +When @var{n} is zero and @var{op} is NaN or greater or equal to @minus{}1, +@var{rop} is set to 1. @end deftypefun @deftypefun int mpfr_cos (mpfr_t @var{rop}, mpfr_t @var{op}, mpfr_rnd_t @var{rnd}) |