/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.4-2.js | 26 2. If Result(1) is NaN, return +0 38 1. If time is not finite, return NaN 39 2. If abs(Result(1)) > 8.64e15, return NaN 48 and NaN, see 9.4-2.js). For value is String, see 9.4-3.js. 89 array[item++] = new TestCase( SECTION, "td = new Date(Number.NaN); td.valueOf()", Number.NaN, eval("td = new Date(Number.NaN); td.valueOf()") ); 90 array[item++] = new TestCase( SECTION, "td = new Date(Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.POSITIVE_INFINITY); td.valueOf()") ); 91 array[item++] = new TestCase( SECTION, "td = new Date(-Infinity); td.valueOf()", Number.NaN, eval("td = new Date(Number.NEGATIVE_INFINITY); td.valueOf()") );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_1/ |
jsref.js | 72 // because ( NaN == NaN ) always returns false, need to do 76 actual = "NaN object"; 78 actual = "NaN number"; 83 expect = "NaN object"; 85 expect = "NaN number";
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/ |
shell.js | 75 // because ( NaN == NaN ) always returns false, need to do 79 actual = "NaN object"; 81 actual = "NaN number"; 86 expect = "NaN object"; 88 expect = "NaN number";
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/ |
jsref.js | 70 // because ( NaN == NaN ) always returns false, need to do 74 actual = "NaN object"; 76 actual = "NaN number"; 81 expect = "NaN object"; 83 expect = "NaN number";
|
/libcore/luni/src/test/java/libcore/java/lang/ |
DoubleTest.java | 34 assertEquals(Double.NaN, Double.parseDouble("NaN")); 35 assertEquals(Double.NaN, Double.parseDouble("-NaN")); 36 assertEquals(Double.NaN, Double.parseDouble("+NaN"));
|
FloatTest.java | 33 assertEquals(Float.NaN, Float.parseFloat("NaN")); 34 assertEquals(Float.NaN, Float.parseFloat("-NaN")); 35 assertEquals(Float.NaN, Float.parseFloat("+NaN"));
|
/dalvik/tests/041-narrowing/src/ |
Main.java | 17 System.out.println("Double.NaN = " 18 + Long.toHexString(Double.doubleToRawLongBits(Double.NaN))); 19 System.out.println("Float.NaN = " 20 + Long.toHexString(Double.doubleToRawLongBits(Float.NaN))); 21 double dbl2 = Double.NaN; 23 System.out.println("(byte) Double.NaN = " 26 System.out.println("(short) Double.NaN = " 29 System.out.println("(int) Double.NaN = " 32 System.out.println("(long) Double.NaN = " 35 float fl2 = Float.NaN; [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.js | 28 "Date") whose value is NaN. 62 NaN,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.12-1.js | 68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED"));
|
11.13.js | 68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED"));
|
11.8.1.js | 78 array[item++] = new TestCase( SECTION, "Number.NaN < Number.NaN", false, Number.NaN < Number.NaN ); 79 array[item++] = new TestCase( SECTION, "0 < Number.NaN", false, 0 < Number.NaN ); 80 array[item++] = new TestCase( SECTION, "Number.NaN < 0", false, Number.NaN < 0 );
|
11.8.2.js | 78 array[item++] = new TestCase( SECTION, "Number.NaN > Number.NaN", false, Number.NaN > Number.NaN ); 79 array[item++] = new TestCase( SECTION, "0 > Number.NaN", false, 0 > Number.NaN ); 80 array[item++] = new TestCase( SECTION, "Number.NaN > 0", false, Number.NaN > 0 );
|
11.8.3.js | 77 array[item++] = new TestCase( SECTION, "Number.NaN <= Number.NaN", false, Number.NaN <= Number.NaN ); 78 array[item++] = new TestCase( SECTION, "0 <= Number.NaN", false, 0 <= Number.NaN ); 79 array[item++] = new TestCase( SECTION, "Number.NaN <= 0", false, Number.NaN <= 0 );
|
11.8.4.js | 78 array[item++] = new TestCase( SECTION, "Number.NaN >= Number.NaN", false, Number.NaN >= Number.NaN ); 79 array[item++] = new TestCase( SECTION, "0 >= Number.NaN", false, 0 >= Number.NaN ); 80 array[item++] = new TestCase( SECTION, "Number.NaN >= 0", false, Number.NaN >= 0 );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.6.js | 29 - if x is NaN return NaN 56 array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.NaN) ); 58 array[item++] = new TestCase( SECTION, "Math.ceil()", Number.NaN, Math.ceil() ); 59 array[item++] = new TestCase( SECTION, "Math.ceil(void 0)", Number.NaN, Math.ceil(void 0) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.3.4-2.js | 24 ECMA Section: 15.7.3.4 Number.NaN 28 this test checks the DontDelete attribute of Number.NaN 38 var TITLE = "Number.NaN"; 50 array[item++] = new TestCase(SECTION, "delete( Number.NaN ); Number.NaN", NaN, "delete( Number.NaN );Number.NaN" ); 51 array[item++] = new TestCase( SECTION, "delete( Number.NaN )", false, "delete( Number.NaN )" ); [all...] |
15.7.3.4-3.js | 24 ECMA Section: 15.7.3.4 Number.NaN 28 this test checks the ReadOnly attribute of Number.NaN 37 var TITLE = "Number.NaN"; 51 "Number.NaN=0; Number.NaN", 52 Number.NaN, 53 "Number.NaN=0; Number.NaN" );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
expression-002.js | 29 OBJECT = new Property( "undefined", void 0, "undefined", NaN );
|
expression-003.js | 24 OBJECT = new Property( "undefined", void 0, "undefined", NaN );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
try-001.js | 28 TryNewJavaInteger( NaN, INVALID_JAVA_INTEGER_VALUE );
|
try-008.js | 49 new Integer( NaN, true );
|
while-002.js | 47 "while expression is NaN", 48 NaN,
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/dneg/ |
Test_dneg.java | 59 * @title Argument = Double.NaN 63 assertEquals(Double.NaN, t.run(Double.NaN));
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/fneg/ |
Test_fneg.java | 58 * @title Argument = Float.NaN 62 assertEquals(Float.NaN, t.run(Float.NaN));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/neg_double/ |
Test_neg_double.java | 73 * @title Argument = Double.NaN 77 assertEquals(Double.NaN, t.run(Double.NaN));
|