pub fn log2_ceil(x: u64) -> usize
Expand description

Returns the ceiling of the base 2 logarithm of x.

log2_ceil(0) returns 0.