- import math
- math.log1p(x)¶
Return the natural logarithm of 1+x (base e). The result is calculated in a way which is accurate for x near zero.
- 就是我们所说的ln
Return the natural logarithm of 1+x (base e). The result is calculated in a way which is accurate for x near zero.