diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-12-18 13:00:10 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-12-18 13:00:10 +0000 |
commit | 7e2f00ad2cf7ef9c3a47c51510715d07007c4118 (patch) | |
tree | c8fa41c1470e7b9cb5bd4da1d5fbc49ea2558557 /src/mpfr-impl.h | |
parent | 262f6e2e80decffd042d7bf378f423d7ef15bd80 (diff) | |
download | mpfr-7e2f00ad2cf7ef9c3a47c51510715d07007c4118.tar.gz |
fixed initial precision in sinu, cosu and tanu
also in cosu, treat special case when 2*pi*x/u is small
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14225 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index d88ead747..521256148 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -1972,8 +1972,8 @@ typedef struct { v=1 or v=x. y is the destination (a mpfr_t), v the value to set (a mpfr_t), - err1+err2 with err2 <= 3 the error term (mpfr_exp_t's), dir (an int) is - the direction of the committed error (if dir = 0, it rounds toward 0, + err1+err2 with 0 <= err2 <= 3 the error term (mpfr_exp_t's), dir (an int) + is the direction of the committed error (if dir = 0, it rounds toward 0, if dir=1, it rounds away from 0), rnd the rounding mode. It returns from the function a ternary value in case of success. |