log2_ceil
remainder
0.1.0
In remainder::
utils::
arithmetic
remainder
::
utils
::
arithmetic
Function
log2_
ceil
Copy item path
Source
pub fn log2_ceil<T: Unsigned +
Zero
>(value: T) ->
u32
Expand description
Take the ceil(log2(value)) for a u64 value.