News for hackers. Stuff that matters.
Re:Ten Ways to Check if an Integer Is a Power Of Two in C by ot on Tuesday July 26, 2011 @12:49PM (#2808229)
2^(bitsize) == 2^(bitsize)

If you meant 1 << (bitsize), that's undefined behaviour in C

There are no comments on this comment yet.