[src]

Function std::num::log2

pub fn log2<T: Float>(value: T) -> T

Returns the base 2 logarithm of the number.