Fraction.prototype.log

Returns the natural logarithm of the fraction.

Syntax

log()

Return value

A number.

Examples

Fraction(1, 2).log()
-0.6931471805599453094172321214581766