W3cubDocs

/Dart 2

ln2 top-level constant

const ln2 = 0.6931471805599453

Natural logarithm of 2.

The natural logarithm of 2 is the number such that pow(E, LN2) == 2. This value is not exact, but it is the closest representable double to the exact mathematical value.

Implementation

const double ln2 = 0.6931471805599453

© 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/ln2-constant.html