Expand description
Ln1PlusX and
Ln1PlusXAssign, traits for
computing $\ln(1+x)$ for Floats.
Functions§
- primitive_
float_ ln_ 1_ plus_ x - Computes the natural logarithm of one plus a primitive float, $\ln(1+x)$. Using this function is
more accurate than using the primitive float
ln_1pfunction (the standard library’sln_1pis not correctly rounded).