kernel::utilities::math

Function closest_power_of_two

Source
pub fn closest_power_of_two(num: u32) -> u32
Expand description

Get closest power of two greater than the given number.