- 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
![](http://img.zemanta.com/pixy.gif?x-id=39ed1cad-84d5-8647-8081-3f82c03388ce)
Return the natural logarithm of 1+x (base e). The result is calculated in a way which is accurate for x near zero.