Name
Math.LN2 — the mathematical constant
log
e
2
Availability
JavaScript 1.0; JScript 1.0; ECMAScript v1
Synopsis
Math.LN2
Description
Math.LN2
is log
e
2
the natural logarithm of 2. This constant has a value of approximately 0.69314718055994528623.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.