Home | History | Annotate | Download | only in Expressions

Lines Matching refs:NaN

33       If either operand is NaN, the result is NaN.
36 Division of an infinity by an infinity results in NaN.
41 Division of a zero by a zero results in NaN; division of zero by any other finite value results in zero, with the sign
45 In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved, the quotient is computed and
80 // if either operand is NaN, the result is NaN.
82 array[item++] = new TestCase( SECTION, "Number.NaN / Number.NaN", Number.NaN, Number.NaN / Number.NaN );
83 array[item++] = new TestCase( SECTION, "Number.NaN / 1", Number.NaN, Number.NaN / 1 );
84 array[item++] = new TestCase( SECTION, "1 / Number.NaN", Number.NaN, 1 / Number.NaN );
86 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.NaN", Number.NaN, Number.POSITIVE_INFINITY / Number.NaN );
87 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.NaN", Number.NaN, Number.NEGATIVE_INFINITY / Number.NaN );
89 // Division of an infinity by an infinity results in NaN.
91 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY / Number.NEGATIVE_INFINITY );
92 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY / Number.NEGATIVE_INFINITY );
93 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY / Number.POSITIVE_INFINITY );
94 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY / Number.POSITIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY / Number.POSITIVE_INFINITY );
127 // Division of a zero by a zero results in NaN
129 array[item++] = new TestCase( SECTION, "0 / -0", Number.NaN, 0 / -0 );
130 array[item++] = new TestCase( SECTION, "-0 / 0", Number.NaN, -0 / 0 );
131 array[item++] = new TestCase( SECTION, "-0 / -0", Number.NaN, -0 / -0 );
132 array[item++] = new TestCase( SECTION, "0 / 0", Number.NaN, 0 / 0 );