Math.LN2 (Constant/static)

A mathematical constant value.

Availability:

ECMAScript edition - 2
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise Server version - 2.0
Opera - 3.0
Property/method value type:Number primitive
JavaScript syntax:-Math.LN2

This constant provides the numeric value of the natural logarithm of 2.

The resulting value returned is approximately 0.693147180559945 (to 15 d.p.)

See also:Arithmetic constant, Exponent-log function, Floating point constant, Math object, Math.exp()

Property attributes:

ReadOnly, DontDelete, DontEnum.

Cross-references:

ECMA 262 edition 2 - section - 15.8.1.3

ECMA 262 edition 3 - section - 15.8.1.3