bevy_math::ops

Function ln_1p

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

Returns ln(1+n) (natural logarithm) more accurately than if the operations were performed separately.

Precision is specified when the libm feature is enabled.