binius_
utils
0.1.0
Module checked_
arithmetics
Module Items
Functions
In crate binius_
utils
binius_utils
Module
checked_arithmetics
Copy item path
source
Functions
ยง
checked_
int_
div
Division implementation that fails in case when
a`` isn't divisible by
b`
checked_
log_
2
log2 implementation that fails when
val
is not a power of 2.
log2_
ceil_
usize
Computes
ceil(log_2(n))
.