diff options
Diffstat (limited to 'set_si.c')
-rw-r--r-- | set_si.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ mpfr_set_si (mpfr_ptr x, long i, mp_rnd_t rnd_mode) if (MPFR_UNLIKELY(carry)) { /* nbits is the current exponent */ - if (MPFR_UNLIKELY(nbits == __gmpfr_emax)) + if (MPFR_UNLIKELY((mp_exp_t) nbits == __gmpfr_emax)) return mpfr_set_overflow(x, rnd_mode, (i < 0 ? -1 : 1)); MPFR_SET_EXP (x, nbits + 1); xp[xn] = MPFR_LIMB_HIGHBIT; |