W3cubDocs

/Dart 2

log function

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.

Implementation

external double log(num x);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-math/log.html