binius_utils::checked_arithmetics

Function log2_ceil_usize

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

Computes ceil(log_2(n)).