Skip to main content

previous_power_of_2

Function previous_power_of_2 

Source
const fn previous_power_of_2(value: usize) -> usize
Expand description

Compute the power of 2 p such that p <= value < p*2.