RT @CompSciFactC code to test whether an unsigned integer u > 0 is a power of 2:
(u & (u-1)) == 0
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.