[][src]Function sunrise_libutils::log2_ceil

pub const fn log2_ceil(val: usize) -> usize

Returns the ceiled base 2 logarithm of the number.

Panics

Panics if val is 0.