summaryrefslogtreecommitdiff
path: root/exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'exp.c')
-rw-r--r--exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exp.c b/exp.c
index 85ad42b19..6f6ef5d9e 100644
--- a/exp.c
+++ b/exp.c
@@ -28,7 +28,7 @@ int
mpfr_exp (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
{
mp_exp_t expx;
- mp_prec_t precy;
+ mpfr_prec_t precy;
int inexact;
MPFR_SAVE_EXPO_DECL (expo);
@@ -132,7 +132,7 @@ mpfr_exp (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
int sh;
yn = 1 + (MPFR_PREC(y) - 1) / GMP_NUMB_BITS;
- sh = (mp_prec_t) yn * GMP_NUMB_BITS - MPFR_PREC(y);
+ sh = (mpfr_prec_t) yn * GMP_NUMB_BITS - MPFR_PREC(y);
MPFR_MANT(y)[0] += MPFR_LIMB_ONE << sh;
inexact = 1;
}