Give that man a cigar!Originally Posted by King Mir
Or as I might say, these are several methods that result in "a value with only the most significant bit set".
Much Ado About Bits
[edit]New one:
Code:#define DECIMALS(itype) \ sizeof(itype) * (CHAR_BIT * 12655ul) / 42039 ((itype) -1 < 0) + 1 )