Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Number.POSITIVE_INFINITY

2 tags 1 category

The Number.POSITIVE_INFINITY static data property represents the positive Infinity value.

The Number.POSITIVE_INFINITY value behaves slightly differently than mathematical infinity:

Any positive value, including POSITIVE_INFINITY, multiplied by POSITIVE_INFINITY is POSITIVE_INFINITY. Any negative value, including NEGATIVE_INFINITY, multiplied by POSITIVE_INFINITY is NEGATIVE_INFINITY. Any positive number divided by POSITIVE_INFINITY is positive zero (as defined in IEEE 754). Any negative number divided by POSITIVE_INFINITY is negative zero (as defined in IEEE 754. Zero multiplied by POSITIVE_INFINITY is NaN. NaN multiplied by POSITIVE_INFINITY is NaN. POSITIVE_INFINITY, divided by any negative value except NEGATIVE_INFINITY, is NEGATIVE_INFINITY. POSITIVE_INFINITY, divided by any positive value except POSITIVE_INFINITY, is POSITIVE_INFINITY. POSITIVE_INFINITY, divided by either NEGATIVE_INFINITY or POSITIVE_INFINITY, is NaN. Number.POSITIVE_INFINITY > x is true for any number x that isn’t POSITIVE_INFINITY.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…