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

pub fn closest_power_of_two(num: u32) -> u32

Get closest power of two greater than the given number.

pub fn closest_power_of_two(num: u32) -> u32

Get closest power of two greater than the given number.