summaryrefslogtreecommitdiff
path: root/tan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tan.c')
-rw-r--r--tan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tan.c b/tan.c
index 68c2ec560..6a3255896 100644
--- a/tan.c
+++ b/tan.c
@@ -70,8 +70,8 @@ mpfr_tan (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
{
/* The only way to get an overflow is to get ~ Pi/2
But the result will be ~ 2^Prec(y). */
- mpfr_sin_cos (s, c, x, GMP_RNDN); /* err <= 1/2 ulp on s and c */
- mpfr_div (c, s, c, GMP_RNDN); /* err <= 4 ulps */
+ mpfr_sin_cos (s, c, x, MPFR_RNDN); /* err <= 1/2 ulp on s and c */
+ mpfr_div (c, s, c, MPFR_RNDN); /* err <= 4 ulps */
MPFR_ASSERTD (!MPFR_IS_SINGULAR (c));
if (MPFR_LIKELY (MPFR_CAN_ROUND (c, m - 2, precy, rnd_mode)))
break;