double log(num x)

Converts x to a double and returns the natural logarithm of the value.

Returns negative infinity if x is equal to zero. Returns NaN if x is NaN or less than zero.

Source

external double log(num x);