Skip to main content

prev_power_of_two

Function prev_power_of_two 

Source
fn prev_power_of_two(n: usize) -> usize
Expand description

Largest power of two not exceeding n. n must be positive.