method

log

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

Computes the natural logarithm of decimal to the specified number of digits of precision, numeric.

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

If decimal is positive infinity, returns Infinity.

If decimal is NaN, returns NaN.