Skip to main content

log1p

Function log1p 

Source
pub fn log1p<F: Float>(x: F) -> F
Expand description

ln(1 + x), without the loss of digits near 0 that ln(1 + x) has. log1p(-1) is -∞.