Skip to main content

next_pow2

Function next_pow2 

Source
pub fn next_pow2(n: usize) -> usize
Expand description

Next power of two ≥ n (n ≥ 1).