dart / 2 / dart-math / log.html

log function

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);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-math/log.html