summaryrefslogtreecommitdiff
path: root/div.c
diff options
context:
space:
mode:
Diffstat (limited to 'div.c')
-rw-r--r--div.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/div.c b/div.c
index 10a3be0d0..87e3d25d7 100644
--- a/div.c
+++ b/div.c
@@ -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);