Skip to main content

is_power_of_two

Function is_power_of_two 

Source
pub fn is_power_of_two(n: usize) -> bool
Expand description

Check if n is a power of two.