diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-03-05 02:11:52 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-03-05 02:11:52 +0000 |
commit | 1aa6fc0083505f1484a31639a4315377c7cc9d0a (patch) | |
tree | 93f10516abd4eb316a4821d799f926d864b598d1 /src/sum.c | |
parent | 07c43181a6a395e58d80d45afec0f34f9357668d (diff) | |
download | mpfr-1aa6fc0083505f1484a31639a4315377c7cc9d0a.tar.gz |
[src/sum.c] Added a comment about shiftq.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11380 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/sum.c')
-rw-r--r-- | src/sum.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -484,6 +484,7 @@ sum_raw (mp_limb_t *wp, mp_size_t ws, mpfr_prec_t wq, const mpfr_ptr *x, MPFR_ASSERTD (diffexp < cancel - 2); shiftq = cancel - 2 - (mpfr_prec_t) diffexp; + /* equivalent to: minexp + wq - 2 - max(e,err) */ MPFR_ASSERTD (shiftq > 0); shifts = shiftq / GMP_NUMB_BITS; shiftc = shiftq % GMP_NUMB_BITS; |