diff options
Diffstat (limited to 'div.c')
-rw-r--r-- | div.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -624,13 +624,13 @@ mpfr_div (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mp_rnd_t rnd_mode) /* check for underflow/overflow */ if (MPFR_UNLIKELY(qexp > __gmpfr_emax)) - return mpfr_set_overflow (q, rnd_mode, sign_quotient); + return mpfr_overflow (q, rnd_mode, sign_quotient); else if (MPFR_UNLIKELY(qexp < __gmpfr_emin)) { if (rnd_mode == GMP_RNDN && ((qexp < __gmpfr_emin - 1) || (inex == 0 && mpfr_powerof2_raw (q)))) rnd_mode = GMP_RNDZ; - return mpfr_set_underflow (q, rnd_mode, sign_quotient); + return mpfr_underflow (q, rnd_mode, sign_quotient); } MPFR_SET_EXP(q, qexp); |