summaryrefslogtreecommitdiff
path: root/atan.c
diff options
context:
space:
mode:
Diffstat (limited to 'atan.c')
-rw-r--r--atan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atan.c b/atan.c
index e37cf3f21..e83903dd8 100644
--- a/atan.c
+++ b/atan.c
@@ -265,7 +265,7 @@ mpfr_atan (mpfr_ptr atan, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
}
realprec = MPFR_PREC (atan) + MPFR_INT_CEIL_LOG2 (MPFR_PREC (atan)) + 4;
- prec = realprec + GMP_LIMB_BITS;
+ prec = realprec + GMP_NUMB_BITS;
/* Initialisation */
mpz_init (ukz);