/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
shell.js | 126 // because ( NaN == NaN ) always returns false, need to do 130 actual = "NaN object"; 132 actual = "NaN number"; 137 expect = "NaN object"; 139 expect = "NaN number"; 585 return Number.NaN; 598 return Number.NaN; 628 return Number.NaN; 631 return Number.NaN; [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
shell.js | 122 //because ( NaN == NaN ) always returns false, need to do 126 if ( typeof actual == "object" ) {actual = "NaN object";} 127 else {actual = "NaN number";} 132 if ( typeof expect == "object" ) {expect = "NaN object";} 133 else {expect = "NaN number";} 533 if ( isNaN(hour) || isNaN(min) || isNaN(sec) || isNaN(ms) ){return Number.NaN;} 546 if ( isNaN(year) || isNaN(month) || isNaN(date)) {return Number.NaN;} 581 if ( YearFromTime(t) != result5 ) {return Number.NaN;} 582 if ( MonthFromTime(t) != result6 ) {return Number.NaN;} [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/ |
jsref.js | 80 // because ( NaN == NaN ) always returns false, need to do 84 actual = "NaN object"; 86 actual = "NaN number"; 91 expect = "NaN object"; 93 expect = "NaN number";
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/ddiv/ |
Test_ddiv.java | 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 92 assertEquals(Double.NaN, t.run(0, 0));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/div_double/ |
Test_div_double.java | 78 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 104 assertEquals(Double.NaN, t.run(0, 0));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/div_double_2addr/ |
Test_div_double_2addr.java | 78 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 104 assertEquals(Double.NaN, t.run(0, 0));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double/ |
Test_div_double.java | 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 92 assertEquals(Double.NaN, t.run(0, 0));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double_2addr/ |
Test_div_double_2addr.java | 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 92 assertEquals(Double.NaN, t.run(0, 0));
|
/dalvik/vm/mterp/x86-atom/ |
OP_CMPL_FLOAT.S | 19 * Code: Provides a "nan" variable to specify the return value for 20 * NaN. Provides a variable "sod" which appends a "s" or a "d" 24 * to specify positive or negative bias for NaN. 37 %default { "nan":"$0xFFFFFFFF" , "sod":"s" } 62 movl $nan, (rFP, rINST, 4) # vAA<- NaN
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.23-4.js | 69 "(new Date(NaN)).setTime()", 70 NaN, 71 (new Date(NaN)).setTime() );
|
15.9.5.23-5.js | 70 "(new Date(NaN)).setTime()", 71 NaN, 72 (new Date(NaN)).setTime() );
|
15.9.5.23-6.js | 70 "(new Date(NaN)).setTime()", 71 NaN, 72 (new Date(NaN)).setTime() );
|
15.9.5.23-7.js | 70 "(new Date(NaN)).setTime()", 71 NaN, 72 (new Date(NaN)).setTime() );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.4.2.js | 47 array[item++] = new TestCase( SECTION, "void(Number.NaN)", void 0, void(Number.NaN) ); 59 array[item++] = new TestCase( SECTION, "void Number.NaN", void 0, void Number.NaN );
|
11.4.9.js | 53 testcases[tc++] = new TestCase( SECTION, "!(NaN)", true, !(Number.NaN) ); 72 testcases[tc++] = new TestCase( SECTION, "!(new Number(NaN))", false, !(new Number(Number.NaN)) );
|
11.2.1-3-n.js | 79 PROPERTY[p++] = new Property( "undefined", void 0, "undefined", NaN );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.1-1.js | 69 array[item++] = new TestCase( SECTION, "eval(Number.NaN)", Number.NaN, eval(Number.NaN) );
|
/external/v8/src/ |
date.js | 147 // If this function is called with NaN it returns NaN. 216 var timezone_cache_time = $NaN; 280 if (!$isFinite(hour)) return $NaN; 281 if (!$isFinite(min)) return $NaN; 282 if (!$isFinite(sec)) return $NaN; 283 if (!$isFinite(ms)) return $NaN; 297 var ymd_from_time_cache = [$NaN, $NaN, $NaN]; [all...] |
/dalvik/vm/mterp/armv5te/ |
OP_FLOAT_TO_INT.S | 2 /* EABI appears to have Java-style conversions of +inf/-inf/NaN */ 35 ldmeqfd sp!, {r4, pc} @ return zero for NaN
|
OP_FLOAT_TO_LONG.S | 35 moveq r1, #0 @ return zero for NaN
|
/dalvik/vm/mterp/armv6t2/ |
OP_FLOAT_TO_INT.S | 2 /* EABI appears to have Java-style conversions of +inf/-inf/NaN */ 35 ldmeqfd sp!, {r4, pc} @ return zero for NaN
|
OP_FLOAT_TO_LONG.S | 35 moveq r1, #0 @ return zero for NaN
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.3.js | 114 Number.NaN,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4.3-1.js | 55 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.NaN)).valueOf()", Number.NaN, "(new Number(Number.NaN)).valueOf()" );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.5-1.js | 28 at that position, the number is NaN. 37 Result(3), return NaN. 73 array[item++] = new TestCase( SECTION, 'TEST_STRING.charCodeAt('+i+')', NaN, TEST_STRING.charCodeAt( i ) );
|