summaryrefslogtreecommitdiff
path: root/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'root.c')
-rw-r--r--root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root.c b/root.c
index 843521e7a..da9b0fb7e 100644
--- a/root.c
+++ b/root.c
@@ -124,7 +124,7 @@ mpfr_root (mpfr_ptr y, mpfr_srcptr x, unsigned long k, mpfr_rnd_t rnd_mode)
MPFR_SAVE_EXPO_MARK (expo);
mpz_init (m);
- e = mpfr_get_z_exp (m, x); /* x = m * 2^e */
+ e = mpfr_get_z_2exp (m, x); /* x = m * 2^e */
if ((negative = MPFR_IS_NEG(x)))
mpz_neg (m, m);
r = e % (mp_exp_t) k;