summaryrefslogtreecommitdiff
path: root/round_near_x.c
diff options
context:
space:
mode:
Diffstat (limited to 'round_near_x.c')
-rw-r--r--round_near_x.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/round_near_x.c b/round_near_x.c
index 985d74cce..f76ea3fe3 100644
--- a/round_near_x.c
+++ b/round_near_x.c
@@ -186,8 +186,10 @@ mpfr_round_near_x (mpfr_ptr y, mpfr_srcptr v, mpfr_uexp_t err, int dir,
}
else
goto addoneulp;
- , if (MPFR_UNLIKELY (++MPFR_EXP (y) > __gmpfr_emax))
- mpfr_overflow (y, rnd, sign)
+ ,
+ if (0) goto addoneulp_doit; /* dummy code / avoid warning */
+ if (MPFR_UNLIKELY (++MPFR_EXP (y) > __gmpfr_emax))
+ mpfr_overflow (y, rnd, sign)
);
/* Fix it in some cases */