binius_
utils
0.2.0
In binius_
utils::
checked_
arithmetics
Functions
checked_int_div
checked_log_2
log2_ceil_usize
log2_strict_usize
binius_utils
::
checked_arithmetics
Function
log2_ceil_usize
Copy item path
Settings
Help
Summary
Source
pub const fn log2_ceil_usize(n:
usize
) ->
usize
Expand description
Computes
ceil(log_2(n))
.