Skip to main content

is_power_of_two

Function is_power_of_two 

Source
pub fn is_power_of_two(x: u64) -> bool
Expand description

True iff x is a (positive) power of two.