ispowerof2¶
- emlib.mathlib.ispowerof2(x)[source]¶
Is x a power of two?
Via: https://stackoverflow.com/questions/600293/how-to-check-if-a-number-is-a-power-of-2
- Return type:
bool
Is x a power of two?
Via: https://stackoverflow.com/questions/600293/how-to-check-if-a-number-is-a-power-of-2
bool
Styled using the Piccolo Theme