pub const fn u8(val: u8) -> u32
These functions compute the integer logarithm of their type, assuming that someone has already checked that the value is strictly positive.