log function Null safety
- 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);
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.
external double log(num x);