Skip to main content

log2_ceil_usize

Function log2_ceil_usize 

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

Compute the ceiling of the base-2 logarithm of a number.