ln2 top-level constant Null safety

double const ln2

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