$ perl -E " say log(~0)/log(2) " 31.9999999996641 $ perl -E " say int 0.999+log(~0)/log(2) " 32
In reply to Re^3: reliably test integer size for portable bit-fiddling? (~0)
by Anonymous Monk
in thread reliably test integer size for portable bit-fiddling?
by wollmers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |