Functionsยง
- Division implementation that fails in case when
a`` isn't divisible by
b` - log2 implementation that fails when
val
is not a power of 2. - Computes
ceil(log_2(n))
. - Computes
log_2(n)
a`` isn't divisible by
b`val
is not a power of 2.ceil(log_2(n))
.log_2(n)