/external/chromium_org/v8/test/mjsunit/ |
compare-nan.js | 28 var a = [NaN, -1, 0, 1, 1.2, -7.9, true, false, 'foo', '0', 'NaN' ]; 31 assertFalse(NaN == x, "NaN == " + x); 32 assertFalse(NaN === x, "NaN === " + x); 33 assertFalse(NaN < x, "NaN < " + x); 34 assertFalse(NaN > x, "NaN > " + x) [all...] |
math-pow.js | 41 assertEquals(NaN, Math.pow(2, NaN)); 42 assertEquals(NaN, Math.pow(+0, NaN)); 43 assertEquals(NaN, Math.pow(-0, NaN)); 44 assertEquals(NaN, Math.pow(Infinity, NaN)); 45 assertEquals(NaN, Math.pow(-Infinity, NaN)); [all...] |
constant-folding-2.js | 45 assertEquals("NaN", String(Infinity + (-Infinity))); 46 assertEquals("NaN", String(NaN + 2)); 55 var d = NaN; 59 assertEquals("NaN", String(++d)); 66 var d = NaN; 70 assertEquals("NaN", String(--d)); 78 assertEquals("NaN", String(Infinity - Infinity)); 79 assertEquals("NaN", String(NaN - 2)) [all...] |
/external/libcxx/test/numerics/complex.number/complex.ops/ |
complex_divide_complex.pass.cpp | 52 assert(classify(r) == NaN); 60 case NaN: 61 assert(classify(r) == NaN); 64 assert(classify(r) == NaN); 80 case NaN: 81 assert(classify(r) == NaN); 84 assert(classify(r) == NaN); 98 assert(classify(r) == NaN); 100 case NaN: 101 assert(classify(r) == NaN); [all...] |
complex_times_complex.pass.cpp | 60 assert(classify(r) == NaN); 62 case NaN: 63 assert(classify(r) == NaN); 66 assert(classify(r) == NaN); 82 case NaN: 83 assert(classify(r) == NaN); 86 assert(classify(r) == NaN); 94 assert(classify(r) == NaN); 102 case NaN: 103 assert(classify(r) == NaN); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/ |
complex_divide_complex.pass.cpp | 52 assert(classify(r) == NaN); 60 case NaN: 61 assert(classify(r) == NaN); 64 assert(classify(r) == NaN); 80 case NaN: 81 assert(classify(r) == NaN); 84 assert(classify(r) == NaN); 98 assert(classify(r) == NaN); 100 case NaN: 101 assert(classify(r) == NaN); [all...] |
complex_times_complex.pass.cpp | 60 assert(classify(r) == NaN); 62 case NaN: 63 assert(classify(r) == NaN); 66 assert(classify(r) == NaN); 82 case NaN: 83 assert(classify(r) == NaN); 86 assert(classify(r) == NaN); 94 assert(classify(r) == NaN); 102 case NaN: 103 assert(classify(r) == NaN); [all...] |
/external/chromium_org/v8/test/webkit/ |
math.js | 30 shouldBe("Math.abs(NaN)", "NaN"); 42 shouldBe("Math.acos(NaN)", "NaN"); 45 shouldBe("Math.acos(1.1)", "NaN"); 46 shouldBe("Math.acos(-1.1)", "NaN"); 47 shouldBe("Math.acos(Infinity)", "NaN"); 48 shouldBe("Math.acos(-Infinity)", "NaN"); 50 shouldBe("Math.asin(NaN)", "NaN"); [all...] |
char-at.js | 74 var answers = [['""', 'NaN'], 75 ['""', 'NaN'], 76 ['""', 'NaN'], 77 ['""', 'NaN'], 78 ['""', 'NaN'], 79 ['""', 'NaN'], 80 ['""', 'NaN'], 81 ['""', 'NaN'], 82 ['""', 'NaN'], 83 ['""', 'NaN'], [all...] |
dfg-min-max.js | 46 shouldBe("doMin(1.5, NaN)", "NaN"); 47 shouldBe("doMin(2.5, NaN)", "NaN"); 48 shouldBe("doMin(NaN, 1.5)", "NaN"); 49 shouldBe("doMin(NaN, 2.5)", "NaN"); 51 shouldBe("doMin(NaN, NaN)", "NaN") [all...] |
ToNumber.js | 57 shouldBe("+undefined", "NaN"); 66 shouldBe("+'x1'", "NaN"); 67 shouldBe("+'1x'", "NaN"); 69 shouldBe("+'1x0'", "NaN"); 70 shouldBe("+(nullCharacter + '1')", "NaN"); 71 shouldBe("+('1' + nullCharacter)", "NaN"); 72 shouldBe("+('1' + nullCharacter + '1')", "NaN"); 73 shouldBe("+(nonASCIICharacter + '1')", "NaN"); 74 shouldBe("+('1' + nonASCIICharacter)", "NaN"); 75 shouldBe("+('1' + nonASCIICharacter + '1')", "NaN"); [all...] |
comparison-operators-greater.js | 76 doTest('"a"', '0', NaN); 77 doTest('0', '"a"', NaN); 88 doTest('letterA', '0', NaN); 90 doTest('0', '"a"', NaN); 92 doTest('0', 'letterA', NaN); 94 doTest('0', 'letterA', NaN); 222 shouldBeFalse(" 0 > NaN"); 223 shouldBeFalse(" NaN > NaN"); 224 shouldBeFalse(" 0 >= NaN"); [all...] |
comparison-operators-less.js | 75 doTest('"a"', '0', NaN); 76 doTest('0', '"a"', NaN); 77 doTest('letterA', '0', NaN); 79 doTest('0', '"a"', NaN); 81 doTest('0', 'letterA', NaN); 83 doTest('0', 'letterA', NaN); 221 shouldBeFalse(" 0 < NaN"); 222 shouldBeFalse(" NaN < NaN"); 223 shouldBeFalse(" 0 <= NaN"); [all...] |
/external/compiler-rt/test/builtins/Unit/ |
divdc3_test.c | 23 enum {zero, non_zero, inf, NaN, non_zero_nan}; 33 return NaN; 37 return NaN; 43 return NaN; 68 if (classify(r) != NaN) 79 case NaN: 80 if (classify(r) != NaN) 84 if (classify(r) != NaN) 110 case NaN: 111 if (classify(r) != NaN) [all...] |
divsc3_test.c | 23 enum {zero, non_zero, inf, NaN, non_zero_nan}; 33 return NaN; 37 return NaN; 43 return NaN; 68 if (classify(r) != NaN) 79 case NaN: 80 if (classify(r) != NaN) 84 if (classify(r) != NaN) 110 case NaN: 111 if (classify(r) != NaN) [all...] |
divtc3_test.c | 26 enum {zero, non_zero, inf, NaN, non_zero_nan}; 36 return NaN; 40 return NaN; 46 return NaN; 72 if (classify(r) != NaN) 83 case NaN: 84 if (classify(r) != NaN) 88 if (classify(r) != NaN) 114 case NaN: 115 if (classify(r) != NaN) [all...] |
divxc3_test.c | 26 enum {zero, non_zero, inf, NaN, non_zero_nan}; 36 return NaN; 40 return NaN; 46 return NaN; 71 if (classify(r) != NaN) 82 case NaN: 83 if (classify(r) != NaN) 87 if (classify(r) != NaN) 113 case NaN: 114 if (classify(r) != NaN) [all...] |
muldc3_test.c | 23 enum {zero, non_zero, inf, NaN, non_zero_nan}; 33 return NaN; 37 return NaN; 43 return NaN; 76 if (classify(r) != NaN) 79 case NaN: 80 if (classify(r) != NaN) 84 if (classify(r) != NaN) 106 case NaN: 107 if (classify(r) != NaN) [all...] |
mulsc3_test.c | 23 enum {zero, non_zero, inf, NaN, non_zero_nan}; 33 return NaN; 37 return NaN; 43 return NaN; 76 if (classify(r) != NaN) 79 case NaN: 80 if (classify(r) != NaN) 84 if (classify(r) != NaN) 110 case NaN: 111 if (classify(r) != NaN) [all...] |
multc3_test.c | 26 enum {zero, non_zero, inf, NaN, non_zero_nan}; 36 return NaN; 40 return NaN; 46 return NaN; 79 if (classify(r) != NaN) 82 case NaN: 83 if (classify(r) != NaN) 87 if (classify(r) != NaN) 109 case NaN: 110 if (classify(r) != NaN) [all...] |
mulxc3_test.c | 26 enum {zero, non_zero, inf, NaN, non_zero_nan}; 36 return NaN; 40 return NaN; 46 return NaN; 79 if (classify(r) != NaN) 82 case NaN: 83 if (classify(r) != NaN) 87 if (classify(r) != NaN) 109 case NaN: 110 if (classify(r) != NaN) [all...] |
/external/compiler-rt/test/ubsan/TestCases/Float/ |
cast-overflow.cpp | 35 float NaN; 61 // Build a 'NaN'. 63 float NaN; 64 memcpy(&NaN, NaNVal, 4); 92 return NaN;
|
/external/protobuf/src/google/protobuf/ |
generated_message_util.cc | 46 double NaN() {
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2056.js | 32 [undefined, 0.0, NaN, NaN], 33 [0.0, undefined, NaN, NaN], 34 [NaN, 0.0, NaN, NaN], 35 [0.0, NaN, NaN, NaN], [all...] |
/external/libcxx/test/numerics/complex.number/complex.value.ops/ |
polar.pass.cpp | 58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) 61 assert(c == NaN || c == non_zero_nan); 69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) 72 assert(c == NaN || c == non_zero_nan); 83 assert(c == NaN || c == non_zero_nan); 88 if (classify(theta) != NaN && classify(theta) != inf) 90 assert(classify(real(z)) != NaN); 91 assert(classify(imag(z)) != NaN); 95 case NaN: 99 assert(c == NaN || c == non_zero_nan) [all...] |