Monday, July 28, 2008

C Macro for verifying MSB

#define zero_most_significant(h) \
(h&=(h>>1)|(h>>2), \
h|=(h>>2), \
h|=(h>>4), \
h|=(h>>8), \
h|=(h>>16))

No comments:

Your Title