math.log1p()

math.log1p(x)

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