News for hackers. Stuff that matters.
Re:Ten Ways to Check if an Integer Is a Power Of Two in C by sharth on Tuesday July 26, 2011 @12:00PM (#2807932)
Use popcount?

return _mm_popcnt_u64(x) < 2;

There are no comments on this comment yet.