bevy_math::ops

Function ln_1p

source
pub fn ln_1p(x: f32) -> f32
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.