Name

Math.LOG2E Property — base-2 logarithm of e, approximately 1.44270

Availability

Flash 5; may be used when exporting Flash 4 movies

Synopsis

Math.LOG2E

Description

The LOG2E property represents the base-2 logarithm of e (log2 e), a constant equaling approximately 1.44270.

Bugs

In Flash 5r30, LOG2E erroneously returns the value of LN2 (0.69315).

Get ActionScript: The Definitive Guide 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.