diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-03-19 00:33:58 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-03-19 00:33:58 +0000 |
commit | 0c0167a2a6e2bce1b53eb85e6f9bb258065b3f5a (patch) | |
tree | 0d99457a6338e4f6e387d342cfcfce2e51fff7e8 /src/sum.c | |
parent | 369d3ee696446f8815bcbb001daafd61dc65c655 (diff) | |
download | mpfr-0c0167a2a6e2bce1b53eb85e6f9bb258065b3f5a.tar.gz |
[src/sum.c] Added comments.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/new-sum@9342 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/sum.c')
-rw-r--r-- | src/sum.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -886,7 +886,7 @@ sum_aux (mpfr_ptr sum, mpfr_ptr *const x, unsigned long n, mpfr_rnd_t rnd, MPFR_ASSERTD (corr >= -1 && corr <= 2); - if (pos) + if (pos) /* positive result */ { MPFR_ASSERTD (MPFR_LIMB_MSB (sump[sn-1]) != 0); MPFR_SET_POS (sum); @@ -927,7 +927,7 @@ sum_aux (mpfr_ptr sum, mpfr_ptr *const x, unsigned long n, mpfr_rnd_t rnd, } } } - else + else /* negative result */ { MPFR_ASSERTD (MPFR_LIMB_MSB (sump[sn-1]) == 0); MPFR_SET_NEG (sum); |