bevy_math::ops

Function log2

source
pub fn log2(x: f32) -> f32
Expand description

Returns the base 2 logarithm of the number.

Precision is specified when the libm feature is enabled.