Function kernel::common::math::closest_power_of_two[][src]

pub fn closest_power_of_two(num: u32) -> u32

Get closest power of two greater than the given number.