/dalvik/vm/compiler/template/armv5te-vfp/ |
TEMPLATE_CMPG_DOUBLE_VFP.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
TEMPLATE_CMPG_FLOAT_VFP.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
TEMPLATE_CMPL_DOUBLE_VFP.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
TEMPLATE_CMPL_FLOAT_VFP.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
/dalvik/vm/mterp/arm-vfp/ |
OP_CMPG_DOUBLE.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
OP_CMPG_FLOAT.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
OP_CMPL_DOUBLE.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
OP_CMPL_FLOAT.S | 3 %verify "left arg NaN" 4 %verify "right arg NaN"
|
/dalvik/vm/mterp/armv5te/ |
OP_CMPL_DOUBLE.S | 4 %verify "left arg NaN" 5 %verify "right arg NaN" 11 * on what value we'd like to return when one of the operands is NaN. 37 @ Test for NaN with a second comparison. EABI forbids testing bit 47 $naninst @ r1<- 1 or -1 for NaN
|
OP_CMPL_FLOAT.S | 4 %verify "left arg NaN" 5 %verify "right arg NaN" 11 * on what value we'd like to return when one of the operands is NaN. 21 * return {-1,1}; // one or both operands was NaN 26 * for NaN directly): 56 @ Test for NaN with a second comparison. EABI forbids testing bit 66 $naninst @ r1<- 1 or -1 for NaN 96 beq ${opcode}_nan @ no, must be NaN 112 $naninst @ r1<- 1 or -1 for NaN
|
/external/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...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.2-3.js | 58 // If either operand is NaN, result is NaN 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 %= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 %= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 %= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 %= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 %= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 %= VAR2") ) [all...] |
11.5.3.js | 43 If either operand is NaN, the result is NaN. 45 If the dividend is an infinity, or the divisor is a zero, or both, the result is NaN. 48 In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved, the floating-point remainder r 82 // if either operand is NaN, the result is NaN. 84 array[item++] = new TestCase( SECTION, "Number.NaN % Number.NaN", Number.NaN, Number.NaN % Number.NaN ) [all...] |
11.6.3.js | 36 If either operand is NaN, the result is NaN. 37 The sum of two infinities of opposite sign is NaN. 46 In the remaining cases, where neither an infinity, nor a zero, nor NaN is 82 array[item++] = new TestCase( SECTION, "Number.NaN + 1", Number.NaN, Number.NaN + 1 ); 83 array[item++] = new TestCase( SECTION, "1 + Number.NaN", Number.NaN, 1 + Number.NaN ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Expressions/ |
StrictEquality-001.js | 29 // 3. If x is NaN, return false 30 StrictEquality( NaN, NaN, false ); 31 StrictEquality( NaN, 0, false ); 33 // 4. If y is NaN, return false. 34 StrictEquality( 0, NaN, false );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.1.1.js | 24 ECMA Section: 15.1.1.1 NaN 26 Description: The initial value of NaN is NaN. 35 var TITLE = "NaN"; 47 array[array.length] = new TestCase( SECTION, "NaN", Number.NaN, NaN ); 48 array[array.length] = new TestCase( SECTION, "this.NaN", Number.NaN, this.NaN ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.11.js | 27 - if x is NaN or y is NaN return NaN 56 array[item++] = new TestCase( SECTION, "Math.max(void 0, 1)", Number.NaN, Math.max( void 0, 1 ) ); 57 array[item++] = new TestCase( SECTION, "Math.max(void 0, void 0)", Number.NaN, Math.max( void 0, void 0 ) ); 64 array[item++] = new TestCase( SECTION, "Math.max(NaN, Infinity)", Number.NaN, Math.max(Number.NaN,Number.POSITIVE_INFINITY) ); 65 array[item++] = new TestCase( SECTION, "Math.max(NaN, 0)", Number.NaN, Math.max(Number.NaN, 0) ) [all...] |
15.8.2.12.js | 27 - if x is NaN or y is NaN return NaN 57 array[item++] = new TestCase( SECTION, "Math.min(void 0, 1)", Number.NaN, Math.min( void 0, 1 ) ); 58 array[item++] = new TestCase( SECTION, "Math.min(void 0, void 0)", Number.NaN, Math.min( void 0, void 0 ) ); 65 array[item++] = new TestCase( SECTION, "Math.min(NaN,0)", Number.NaN, Math.min(Number.NaN,0) ); 66 array[item++] = new TestCase( SECTION, "Math.min(NaN,1)", Number.NaN, Math.min(Number.NaN,1) ) [all...] |
/frameworks/compile/libbcc/runtime/test/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...] |