Avoid the multiply:
say length sprintf "%b", ~0;; 64
In reply to Re^3: reliably test integer size for portable bit-fiddling? (~0)
by BrowserUk
in thread reliably test integer size for portable bit-fiddling?
by wollmers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |