isPowerOf2

Returns true if x is power of two.

@nogc
bool
isPowerOf2
(
T = uint
)
(
T x
)

Meta