pub fn log1p<F>(x: F) -> Fwhere F: Float,
ln(1 + x), without the loss of digits near 0 that ln(1 + x) has. log1p(-1) is -∞.
ln(1 + x)
log1p(-1)