diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-11-27 08:56:12 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-11-27 08:56:12 +0000 |
commit | 07dbf7b3e2ed9d73bad1a57b1379fa85ca81b672 (patch) | |
tree | 39a2668c88ad5755022e560aeb86ea44ce787403 /set_uj.c | |
parent | 5ce72dacb19af5f6d38b7fcd383ad44859207aa4 (diff) | |
download | mpfr-07dbf7b3e2ed9d73bad1a57b1379fa85ca81b672.tar.gz |
added comment about last change
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4299 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_uj.c')
-rw-r--r-- | set_uj.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -77,6 +77,9 @@ mpfr_set_uj_2exp (mpfr_t x, uintmax_t j, intmax_t e, mp_rnd_t rnd) limb = yp[0] = j; else { + /* Note: either BITS_PER_MP_LIMB = uintmax_bit_size, then k = 1 the + shift j >>= bpml is never done, or BITS_PER_MP_LIMB < uintmax_bit_size + and bpml = BITS_PER_MP_LIMB. */ for (i = 0; i < k; i++, j >>= bpml) yp[i] = j; /* Only the low bits are copied */ |