pub fn log2(x: f32) -> f32
Available on non-crate feature
libm
and crate feature std
only.Expand description
Returns the base 2 logarithm of the number.
Precision is specified when the libm
feature is enabled.