log2

Function log2 

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