isPowerOfTwo

Returns whether the specified value is a power of two

pragma(inline, true)
bool
isPowerOfTwo
(
T
)
(
T x
)
if (
isIntegral!T
)

Meta