isPowerOfTwo

True if x is some power of two, including 1.

bool
isPowerOfTwo
(
T
)
(
T x
)

Meta