Skip to main content

next_power_of_two

Function next_power_of_two 

Source
pub const fn next_power_of_two(x: usize) -> usize
Expand description

Returns the next power of two greater than or equal to x