News for hackers. Stuff that matters.
Re:Ten Ways to Check if an Integer Is a Power Of Two in C by eru on Tuesday July 26, 2011 @02:03PM (#2808618)
Yes. It seems to work for much larger numbers than this on my version of Python, but going via doubles leaves a bad taste.

There are no comments on this comment yet.