_DOMAIN error and other program AB-END situations. If you need the natural log of 2 or 10 use the constants MathLN2 or MathLN10. Following is the syntax of the log1p method mathlog1pargument Time for an example.
Last We tried log Function on Zero value. The following errors can occur. Log formatx y log 1e1000 float に収まらないので inf になる. Python 3 on the other hand does floating point division by default.