pub const fn usize_const_log2_ceil(n: usize) -> usize
Expand description

Returns ceiling(log2(n)).

This is exposed in addition to the Logarithm extension trait because it is a const fn, while trait methods cannot be const fns.