diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-10-23 02:12:27 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-10-23 02:12:27 +0000 |
commit | d81fdf15fe644f83a644f4c66f20b877486d40e1 (patch) | |
tree | b797c76731987e7ae705b5713b3bf272878931a2 | |
parent | 3c43bb30835ae8b243f8c95f19a0e23529332aa1 (diff) | |
download | mpfr-d81fdf15fe644f83a644f4c66f20b877486d40e1.tar.gz |
Added a comment about a warning (this confused a user).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/2.2@4156 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | set_uj.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -75,6 +75,10 @@ mpfr_set_uj_2exp (mpfr_t x, uintmax_t j, intmax_t e, mp_rnd_t rnd) limb = yp[0] = j; else { + /* Note: Possible warning "right shift count >= width of type" on + 64-bit machines with gcc. This is not a bug, as the right shift + is never performed in this case. FIXME: Avoid this warning, if + possible (in a clean way). */ for (i = 0; i < k; i++, j >>= BITS_PER_MP_LIMB) yp[i] = j; /* Only the low bits are copied */ |