pub const fn usize_const_log2(n: usize) -> usize
Returns log2(n).
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.
Logarithm
const fn