RT @CompSciFactC code to test whether an unsigned integer u > 0 is a power of 2:
(u & (u-1)) == 0
CleverLibre Social is an inclusive social instance for open discussion, learning, and community. All cultures welcome. Hate speech and harassment strictly forbidden.