isPowerOf2

* Returns true of i is a power of 2.

bool
isPowerOf2
(
T
)
(
T i
)
if (
isIntegral!T
)

Meta