/external/v8/test/mjsunit/regress/ |
H A D | regress-588599.js | 28 assertFalse(Infinity == -Infinity); 29 assertEquals(Infinity, 1 / 1e-9999); 30 assertEquals(-Infinity, 1 / -1e-9999);
|
H A D | regress-996542.js | 32 assertEquals(-Infinity, 1 / (0 / -1)); 33 assertEquals(-Infinity, one / (zero / minus_one)); 34 assertEquals(Infinity, 1 / (0 / 1)); 35 assertEquals(Infinity, one / (zero / one)); 37 assertEquals(-Infinity, 1 / (-1 % 1)); 38 assertEquals(-Infinity, one / (minus_one % one)) 39 assertEquals(Infinity, 1 / (1 % 1)); 40 assertEquals(Infinity, one / (one % one));
|
H A D | regress-397.js | 33 assertEquals("Infinity", String(Math.pow(Infinity, 0.5))); 34 assertEquals(0, Math.pow(Infinity, -0.5)); 36 assertEquals("Infinity", String(Math.pow(-Infinity, 0.5))); 37 assertEquals(0, Math.pow(-Infinity, -0.5));
|
H A D | regress-1117.js | 34 assertEquals(1/foo(-42), -Infinity); 35 assertEquals(1/foo(-42), -Infinity); 37 assertEquals(1/foo(-42), -Infinity); 40 assertEquals(Infinity, 1/bar(5)); 41 assertEquals(Infinity, 1/bar(5)); 43 assertEquals(-Infinity, 1/bar(-5));
|
H A D | regress-force-constant-representation.js | 10 a.push(Infinity); 18 assertEquals([{}, Infinity, Infinity, Infinity, Infinity], a);
|
H A D | regress-2056.js | 38 [Infinity, 0.0, Infinity, 0.0], 39 [0.0, Infinity, Infinity, 0.0], 40 [-Infinity, 0.0, 0.0, -Infinity], 41 [0.0, -Infinity, 0.0, -Infinity]
|
/external/v8/test/mjsunit/ |
H A D | compare-table-eq.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function eq_L14(b) { return Infinity == b; }), 42 (function eq_L15(b) { return -Infinity == b; }), 60 (function eq_R14(a) { return a == Infinity; }), 61 (function eq_R15(a) { return a == -Infinity; }), 66 [true == true,true == false,true == null,true == void 0,true == 0,true == 0.0,true == -0,true == "",true == -1,true == -1.25,true == 1,true == 1.25,true == -2147483648,true == 2147483648,true == Infinity,true == -Infinity,true == NaN], 67 [false == true,false == false,false == null,false == void 0,false == 0,false == 0.0,false == -0,false == "",false == -1,false == -1.25,false == 1,false == 1.25,false == -2147483648,false == 2147483648,false == Infinity,false == -Infinity,fals [all...] |
H A D | compare-table-gt.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function gt_L14(b) { return Infinity > b; }), 42 (function gt_L15(b) { return -Infinity > b; }), 60 (function gt_R14(a) { return a > Infinity; }), 61 (function gt_R15(a) { return a > -Infinity; }), 66 [true > true,true > false,true > null,true > void 0,true > 0,true > 0.0,true > -0,true > "",true > -1,true > -1.25,true > 1,true > 1.25,true > -2147483648,true > 2147483648,true > Infinity,true > -Infinity,true > NaN], 67 [false > true,false > false,false > null,false > void 0,false > 0,false > 0.0,false > -0,false > "",false > -1,false > -1.25,false > 1,false > 1.25,false > -2147483648,false > 2147483648,false > Infinity,false > -Infinity,fals [all...] |
H A D | compare-table-gteq.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function gteq_L14(b) { return Infinity >= b; }), 42 (function gteq_L15(b) { return -Infinity >= b; }), 60 (function gteq_R14(a) { return a >= Infinity; }), 61 (function gteq_R15(a) { return a >= -Infinity; }), 66 [true >= true,true >= false,true >= null,true >= void 0,true >= 0,true >= 0.0,true >= -0,true >= "",true >= -1,true >= -1.25,true >= 1,true >= 1.25,true >= -2147483648,true >= 2147483648,true >= Infinity,true >= -Infinity,true >= NaN], 67 [false >= true,false >= false,false >= null,false >= void 0,false >= 0,false >= 0.0,false >= -0,false >= "",false >= -1,false >= -1.25,false >= 1,false >= 1.25,false >= -2147483648,false >= 2147483648,false >= Infinity,false >= -Infinity,fals [all...] |
H A D | compare-table-lt.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function lt_L14(b) { return Infinity < b; }), 42 (function lt_L15(b) { return -Infinity < b; }), 60 (function lt_R14(a) { return a < Infinity; }), 61 (function lt_R15(a) { return a < -Infinity; }), 66 [true < true,true < false,true < null,true < void 0,true < 0,true < 0.0,true < -0,true < "",true < -1,true < -1.25,true < 1,true < 1.25,true < -2147483648,true < 2147483648,true < Infinity,true < -Infinity,true < NaN], 67 [false < true,false < false,false < null,false < void 0,false < 0,false < 0.0,false < -0,false < "",false < -1,false < -1.25,false < 1,false < 1.25,false < -2147483648,false < 2147483648,false < Infinity,false < -Infinity,fals [all...] |
H A D | compare-table-lteq.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function lteq_L14(b) { return Infinity <= b; }), 42 (function lteq_L15(b) { return -Infinity <= b; }), 60 (function lteq_R14(a) { return a <= Infinity; }), 61 (function lteq_R15(a) { return a <= -Infinity; }), 66 [true <= true,true <= false,true <= null,true <= void 0,true <= 0,true <= 0.0,true <= -0,true <= "",true <= -1,true <= -1.25,true <= 1,true <= 1.25,true <= -2147483648,true <= 2147483648,true <= Infinity,true <= -Infinity,true <= NaN], 67 [false <= true,false <= false,false <= null,false <= void 0,false <= 0,false <= 0.0,false <= -0,false <= "",false <= -1,false <= -1.25,false <= 1,false <= 1.25,false <= -2147483648,false <= 2147483648,false <= Infinity,false <= -Infinity,fals [all...] |
H A D | compare-table-ne.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function ne_L14(b) { return Infinity != b; }), 42 (function ne_L15(b) { return -Infinity != b; }), 60 (function ne_R14(a) { return a != Infinity; }), 61 (function ne_R15(a) { return a != -Infinity; }), 66 [true != true,true != false,true != null,true != void 0,true != 0,true != 0.0,true != -0,true != "",true != -1,true != -1.25,true != 1,true != 1.25,true != -2147483648,true != 2147483648,true != Infinity,true != -Infinity,true != NaN], 67 [false != true,false != false,false != null,false != void 0,false != 0,false != 0.0,false != -0,false != "",false != -1,false != -1.25,false != 1,false != 1.25,false != -2147483648,false != 2147483648,false != Infinity,false != -Infinity,fals [all...] |
H A D | compare-table-seq.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function seq_L14(b) { return Infinity === b; }), 42 (function seq_L15(b) { return -Infinity === b; }), 60 (function seq_R14(a) { return a === Infinity; }), 61 (function seq_R15(a) { return a === -Infinity; }), 66 [true === true,true === false,true === null,true === void 0,true === 0,true === 0.0,true === -0,true === "",true === -1,true === -1.25,true === 1,true === 1.25,true === -2147483648,true === 2147483648,true === Infinity,true === -Infinity,true === NaN], 67 [false === true,false === false,false === null,false === void 0,false === 0,false === 0.0,false === -0,false === "",false === -1,false === -1.25,false === 1,false === 1.25,false === -2147483648,false === 2147483648,false === Infinity,false === -Infinity,fals [all...] |
H A D | compare-table-sne.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 41 (function sne_L14(b) { return Infinity !== b; }), 42 (function sne_L15(b) { return -Infinity !== b; }), 60 (function sne_R14(a) { return a !== Infinity; }), 61 (function sne_R15(a) { return a !== -Infinity; }), 66 [true !== true,true !== false,true !== null,true !== void 0,true !== 0,true !== 0.0,true !== -0,true !== "",true !== -1,true !== -1.25,true !== 1,true !== 1.25,true !== -2147483648,true !== 2147483648,true !== Infinity,true !== -Infinity,true !== NaN], 67 [false !== true,false !== false,false !== null,false !== void 0,false !== 0,false !== 0.0,false !== -0,false !== "",false !== -1,false !== -1.25,false !== 1,false !== 1.25,false !== -2147483648,false !== 2147483648,false !== Infinity,false !== -Infinity,fals [all...] |
H A D | math-pow.js | 44 assertEquals(NaN, Math.pow(Infinity, NaN)); 45 assertEquals(NaN, Math.pow(-Infinity, NaN)); 55 assertEquals(NaN, Math.pow(NaN, Infinity)); 56 assertEquals(NaN, Math.pow(NaN, -Infinity)); 58 assertEquals(Infinity, Math.pow(1.1, Infinity)); 59 assertEquals(Infinity, Math.pow(-1.1, Infinity)); 60 assertEquals(Infinity, Math.pow(2, Infinity)); [all...] |
H A D | smi-negative-zero.js | 40 assertEquals(-Infinity, one / (-zero), "one / -0 I"); 42 assertEquals(-Infinity, one / (zero * minus_one), "one / -1"); 43 assertEquals(-Infinity, one / (minus_one * zero), "one / -0 II"); 44 assertEquals(Infinity, one / (zero * zero), "one / 0 I"); 47 assertEquals(-Infinity, one / (zero / minus_one), "one / -0 III"); 48 assertEquals(Infinity, one / (zero / one), "one / 0 II"); 50 assertEquals(-Infinity, one / (minus_four % two), "foo1"); 51 assertEquals(-Infinity, one / (minus_four % minus_two), "foo2"); 52 assertEquals(Infinity, one / (four % two), "foo3"); 53 assertEquals(Infinity, on [all...] |
H A D | global-infinity.js | 15 function f1() { return Infinity; } 24 function f4() { return (1/0) == Infinity; } 27 function f5() { return Infinity == (1/0); } 30 function f6() { return "" + Infinity; } 31 test("Infinity", f6); 36 function f8() { return (1/0) === Infinity; } 39 function f9() { return Infinity === (1/0); } 42 delete Infinity; 44 function g1() { return Infinity; } 53 function g4() { return (1/0) == Infinity; } [all...] |
H A D | global-infinity-strict.js | 24 function f1() { return Infinity; } 33 function f4() { return (1/0) == Infinity; } 36 function f5() { return Infinity == (1/0); } 39 function f6() { return "" + Infinity; } 40 test("Infinity", f6); 45 function f8() { return (1/0) === Infinity; } 48 function f9() { return Infinity === (1/0); } 53 function g1() { return Infinity; } 62 function g4() { return (1/0) == Infinity; } 65 function g5() { return Infinity [all...] |
H A D | math-sqrt.js | 33 if (value === 0 && (1 / value) == -Infinity) { 50 test(Infinity, Infinity); 51 // -Infinity is smaller than 0 so it should return NaN 52 test(NaN, -Infinity);
|
H A D | constant-folding-2.js | 43 assertEquals("Infinity", String(Infinity + Infinity)); 44 assertEquals("Infinity", String(Infinity + 3)); 45 assertEquals("NaN", String(Infinity + (-Infinity))); 47 assertEquals("-Infinity", String(1 / (-0.0 + (-0.0)))); 48 assertEquals("Infinity", String(1 / (-0.0 + 0.0))); 53 var b = Infinity; [all...] |
H A D | result-table-max.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 7 [1,1,1,NaN,1,1,1,1,1,1,1,1.25,1,2147483648,Infinity,1,NaN], 8 [1,0,0,NaN,0,0,0,0,0,0,1,1.25,0,2147483648,Infinity,0,NaN], 9 [1,0,0,NaN,0,0,0,0,0,0,1,1.25,0,2147483648,Infinity,0,NaN], 11 [1,0,0,NaN,0,0,0,0,0,0,1,1.25,0,2147483648,Infinity,0,NaN], 12 [1,0,0,NaN,0,0,0,0,0,0,1,1.25,0,2147483648,Infinity,0,NaN], 13 [1,0,0,NaN,0,0,-0,0,-0,-0,1,1.25,-0,2147483648,Infinity,-0,NaN], 14 [1,0,0,NaN,0,0,0,0,0,0,1,1.25,0,2147483648,Infinity,0,NaN], 15 [1,0,0,NaN,0,0,-0,0,-1,-1,1,1.25,-1,2147483648,Infinity, [all...] |
H A D | result-table-min.js | 5 var values = [true,false,null,void 0,0,0.0,-0,"",-1,-1.25,1,1.25,-2147483648,2147483648,Infinity,-Infinity,NaN]; 7 [1,0,0,NaN,0,0,-0,0,-1,-1.25,1,1,-2147483648,1,1,-Infinity,NaN], 8 [0,0,0,NaN,0,0,-0,0,-1,-1.25,0,0,-2147483648,0,0,-Infinity,NaN], 9 [0,0,0,NaN,0,0,-0,0,-1,-1.25,0,0,-2147483648,0,0,-Infinity,NaN], 11 [0,0,0,NaN,0,0,-0,0,-1,-1.25,0,0,-2147483648,0,0,-Infinity,NaN], 12 [0,0,0,NaN,0,0,-0,0,-1,-1.25,0,0,-2147483648,0,0,-Infinity,NaN], 13 [-0,-0,-0,NaN,-0,-0,-0,-0,-1,-1.25,-0,-0,-2147483648,-0,-0,-Infinity,NaN], 14 [0,0,0,NaN,0,0,-0,0,-1,-1.25,0,0,-2147483648,0,0,-Infinity,NaN], 15 [-1,-1,-1,NaN,-1,-1,-1,-1,-1,-1.25,-1,-1,-2147483648,-1,-1,-Infinity,Na [all...] |
/external/v8/test/mjsunit/harmony/ |
H A D | exponentiation-operator.js | 102 assertEquals(NaN, Infinity ** NaN); 103 assertEquals(NaN, (-Infinity) ** NaN); 113 assertEquals(NaN, NaN ** Infinity); 114 assertEquals(NaN, NaN ** -Infinity); 116 assertEquals(Infinity, 1.1 ** Infinity); 117 assertEquals(Infinity, (-1.1) ** Infinity); 118 assertEquals(Infinity, 2 ** Infinity); [all...] |
/external/v8/test/mjsunit/asm/ |
H A D | float64mul.js | 27 assertEquals(Infinity, 1 / m.f1(-0)); 28 assertEquals(Infinity, 1 / m.f2(-0)); 29 assertEquals(Infinity, 1 / m.f3(-0)); 30 assertEquals(Infinity, m.f1(-Infinity)); 31 assertEquals(Infinity, m.f2(-Infinity)); 32 assertEquals(Infinity, m.f3(-Infinity)); 33 assertEquals(-Infinity, [all...] |
/external/v8/test/mjsunit/compiler/ |
H A D | regress-max.js | 35 assertEquals(-Infinity, 1 / r);
|