diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-12-17 15:25:04 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-12-17 15:25:04 +0000 |
commit | 276ac7e2876fcd2bb95bd40c070717fe240b4efb (patch) | |
tree | 5f6b7748f48f314ba16e7aae8c967d558795b12a /src/sin.c | |
parent | 6797ca56ed80fed4ee924af3e3059421f6698e93 (diff) | |
download | mpfr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) */ |