Function exr::math::floor_log_2

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

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