method

log

v1_9_3_392 - Show latest stable - Class: BigMath
log(p1, p2)
public

Computes the natural logarithm of x to the specified number of digits of precision.

If x is zero or negative, raises Math::DomainError.

If x is positive infinite, returns Infinity.

If x is NaN, returns NaN.