You are here : python_3mathmathlog1p

math.log1p() - math

Return the natural logarithm of 1+x (base e). The
result is calculated in a way which is accurate for x near zero.


Syntax

math.log1p(x)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference