num_integer::roots

Function log2

Source
fn log2<T: PrimInt>(x: T) -> u32