Skip to content

ln2

const double 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.