pub fn is_power_of_two(n: usize) -> bool
Check if a number is a power of two
n
true if the number is a power of 2, false otherwise
true
false