ID EN
Math

log1p

Python 3.11

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

Syntax

PYTHON
math.log1p(x)