summaryrefslogtreecommitdiff
path: root/src/sin.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-12-17 15:25:04 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-12-17 15:25:04 +0000
commit276ac7e2876fcd2bb95bd40c070717fe240b4efb (patch)
tree5f6b7748f48f314ba16e7aae8c967d558795b12a /src/sin.c
parent6797ca56ed80fed4ee924af3e3059421f6698e93 (diff)
downloadmpfr-276ac7e2876fcd2bb95bd40c070717fe240b4efb.tar.gz
Replaced some MPFR_EXP by MPFR_GET_EXP.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7303 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/sin.c')
-rw-r--r--src/sin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sin.c b/src/sin.c
index 010d2406f..88534aaa7 100644
--- a/src/sin.c
+++ b/src/sin.c
@@ -113,8 +113,8 @@ mpfr_sin (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
else
mpfr_add (c, c, xr, MPFR_RNDZ);
if (MPFR_IS_ZERO(xr)
- || MPFR_EXP(xr) < (mpfr_exp_t) 3 - (mpfr_exp_t) m
- || MPFR_EXP(c) < (mpfr_exp_t) 3 - (mpfr_exp_t) m)
+ || MPFR_GET_EXP(xr) < (mpfr_exp_t) 3 - (mpfr_exp_t) m
+ || MPFR_GET_EXP(c) < (mpfr_exp_t) 3 - (mpfr_exp_t) m)
goto ziv_next;
/* |xr - x - 2kPi| <= 2^(2-m), thus |sin(xr) - sin(x)| <= 2^(2-m) */