TypeProperty (R)
Format Number.NEGATIVE_INFINITY
Commentary
Special value representing negative infinity; returned on overflow.This value behaves slightly differently than mathematical infinity:
Any positive value, including POSITIVE_INFINITY, multiplied by NEGATIVE_INFINITY is NEGATIVE_INFINITY.
Any negative value, including NEGATIVE_INFINITY, multiplied by NEGATIVE_INFINITY is POSITIVE_INFINITY.
Zero multiplied by NEGATIVE_INFINITY is NaN.
NaN multiplied by NEGATIVE_INFINITY is NaN.
NEGATIVE_INFINITY, divided by any negative value except NEGATIVE_INFINITY, is POSITIVE_INFINITY.
NEGATIVE_INFINITY, divided by any positive value except POSITIVE_INFINITY, is NEGATIVE_INFINITY.
NEGATIVE_INFINITY, divided by either NEGATIVE_INFINITY or POSITIVE_INFINITY, is NaN.
Any number divided by NEGATIVE_INFINITY is Zero.
Sample code - QC 2 JavaScript
outputs[0] = Number.NEGATIVE_INFINITY; outputs [0] = Number.NEGATIVE_INFINITY;
Sample code - QC 3 JavaScript
function (__number outputNumber) main (__number inputNumber[2])
{
var result = new Object();
result.outputNumber = Number.NEGATIVE_INFINITY;
return result;
}