[][src]Function kernel::common::math::log_base_two

pub fn log_base_two(num: u32) -> u32

Get log base 2 of a number. Note: this is the floor of the result. Also, an input of 0 results in an output of 0