Keith Devens .com |
Saturday, July 19, 2008 | ![]() |
| Man up! – Justin | ||
|
| ← 4by12 » Two Envelopes | Sam Ruby: Captcha this! → |

David Lindquist (http://www.stringify.com/) wrote:
Keith (http://keithdevens.com/) wrote:
See, there you go. I suck at bit twiddling. Thanks!
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.138s.
(Used 8 db queries)

Howza bout:
def isPowerOf2(num):
return (num & (num - 1) == 0)