Function exr::math::ceil_log_2

source ยท
pub(crate) fn ceil_log_2(number: u32) -> u32
Expand description

Computes ceil(log(x)/log(2)). Returns 0 where argument is 0.