pub fn is_power_of_2(x: u16) -> bool
Expand description

Raise a u16 to a power mod some value. Returns true if x is a power of 2.