binius_
utils
0.1.0
In binius_
utils::
checked_
arithmetics
binius_utils
::
checked_arithmetics
Function
log2_ceil_usize
Copy item path
source
pub const fn log2_ceil_usize(n:
usize
) ->
usize
Expand description
Computes
ceil(log_2(n))
.