summaryrefslogtreecommitdiff
path: root/src/sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sum.c')
-rw-r--r--src/sum.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sum.c b/src/sum.c
index 6e95a581a..14fd1b50c 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -762,7 +762,6 @@ sum_aux (mpfr_ptr sum, mpfr_ptr *const x, unsigned long n, mpfr_rnd_t rnd,
MPFR_ASSERTD (corr == 0 || corr == 1);
if (inex && corr == 0) /* two's complement significand decreased */
inex = -1;
- MPFR_LOG_MSG (("No TMD, corr=%d inex=%d\n", corr, inex));
}
else
{
@@ -879,9 +878,12 @@ sum_aux (mpfr_ptr sum, mpfr_ptr *const x, unsigned long n, mpfr_rnd_t rnd,
corr = (int) rbit;
}
+ MPFR_LOG_MSG (("pos=%d corr=%d inex=%d\n", pos, corr, inex));
+
/* Sign handling (-> absolute value and sign), together with
rounding. The most common cases are corr = 0 and corr = 1
as this is necessarily the case when the TMD did not occur. */
+
MPFR_ASSERTD (corr >= -1 && corr <= 2);
if (pos)