Coding & Programming > JavaScript Forum

Negative infinity in JavaScript?

(1/1)

sonakshibhathi:
Hello friends,
I would like to know,
What is called as negative infinity in JavaScript?

Michealyardy:
It is defined as number in JavaScript, derived by dividing negative number by zero

raghuramastrologer:
The value of Number.NEGATIVE_INFINITY is the same as the negative value of the global object's Infinity property. This value behaves slightly differently than mathematical infinity: Any negative value, including NEGATIVE_INFINITY , multiplied by NEGATIVE_INFINITY is POSITIVE_INFINITY

Lishmalinyjames:
The NEGATIVE_INFINITY property represents negative infinity. Negative infinity can be explained as something that is lower than any other number.

Navigation

[0] Message Index

Go to full version