Function log2

pub fn log2<T: Dispatch>(x: T) -> T

Returns the base 2 logarithm of a floating-point value.

The stabilized versions of this intrinsic are available on the float primitives via the log2 method. For example, f32::log2.