Name

Number.NEGATIVE_INFINITY Property — constant representing any number more negative than -Number.MAX_VALUE

Availability

Flash 5

Synopsis

Number.NEGATIVE_INFINITY

Access

Read-only

Description

The NEGATIVE_INFINITY property stores a special numeric value used to represent values more negative than -Number.MAX_VALUE (the most-negative number representable in ActionScript). This is known as an underflow condition and is typically caused by a mathematical error.

Number.NEGATIVE_INFINITY is normally used in its more convenient global property form, -Infinity.

See Also

-Infinity, isFinite( ), Number.MAX_VALUE; Section 4.3.3 in Chapter 4

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.