bevy_math::ops

Function log2

Source
pub fn log2(x: f32) -> f32
Available on non-crate feature libm only.
Expand description

Returns the base 2 logarithm of the number.

Precision is specified when the libm feature is enabled.