log function Null safety

double log(
  1. 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.

Implementation

external double log(num x);