Type: Function
Function: LN
Syntax: LN(number)
Description: Returns the logarithm of a number using base e (Euler's number).
Sample usage:
LN(2)
returns~0.693
.lines_changed > 0 ? LN(lines_changed) : 0
returns the natural logarithm applied to the number of lines of code changed. Note thatLN(0)
raises an error, hence the guard against zero values.