☰
In kernel::utilities::math
?
Function
kernel
::
utilities
::
math
::
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.