Mercurial > hg > octave-lyh > gnulib-hg
changeset 9919:751833dcb7cb
Add comment for last commit.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 13 Apr 2008 22:52:00 +0200 |
parents | 82e6377c749d |
children | fe4e6b58eb84 |
files | lib/count-one-bits.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/count-one-bits.h +++ b/lib/count-one-bits.h @@ -30,6 +30,8 @@ return BUILTIN (x); #else #define COUNT_ONE_BITS(BUILTIN, TYPE) \ + /* This condition is written so as to avoid shifting by more than \ + 31 bits at once, and also avoids a random HP-UX cc bug. */ \ verify (((TYPE) -1 >> 31 >> 31 >> 2) == 0); /* TYPE has at most 64 bits */ \ int count = count_one_bits_32 (x); \ if (1 < (TYPE) -1 >> 31) /* TYPE has more than 32 bits? */ \