summaryrefslogtreecommitdiff
path: root/src/eint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eint.c')
-rw-r--r--src/eint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eint.c b/src/eint.c
index 9ee948e75..6da7af331 100644
--- a/src/eint.c
+++ b/src/eint.c
@@ -244,8 +244,7 @@ mpfr_eint (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd)
mpfr_init2 (ump, 64);
mpfr_log (tmp, x, MPFR_RNDU);
mpfr_sub (ump, x, tmp, MPFR_RNDD);
- mpfr_const_log2 (tmp, MPFR_RNDU);
- mpfr_div (ump, ump, tmp, MPFR_RNDD);
+ mpfr_div (ump, ump, __gmpfr_const_log2_RNDU, MPFR_RNDD);
/* FIXME: We really need mpfr_set_exp_t and mpfr_cmpfr_exp_t functions. */
MPFR_ASSERTN (MPFR_EMAX_MAX <= LONG_MAX);
if (mpfr_cmp_ui (ump, __gmpfr_emax) >= 0)