Home
last modified time | relevance | path

Searched refs:two_30 (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/v8/test/mjsunit/
Dmath-floor-part2.js58 var two_30 = 1 << 30;
60 testFloor(two_30, two_30);
61 testFloor(two_30, two_30 + 0.1);
62 testFloor(two_30, two_30 + 0.5);
63 testFloor(two_30, two_30 + 0.7);
65 testFloor(two_30 - 1, two_30 - 1);
66 testFloor(two_30 - 1, two_30 - 1 + 0.1);
67 testFloor(two_30 - 1, two_30 - 1 + 0.5);
68 testFloor(two_30 - 1, two_30 - 1 + 0.7);
70 testFloor(-two_30, -two_30);
[all …]
Dmath-abs.js65 var two_30 = 1 << 30;
67 assertEquals(two_30, Math.abs(two_30));
68 assertEquals(two_30, Math.abs(-two_30));
70 assertEquals(two_30 + 1, Math.abs(two_30 + 1));
71 assertEquals(two_30 + 1, Math.abs(-two_30 - 1));
73 assertEquals(two_30 - 1, Math.abs(two_30 - 1));
74 assertEquals(two_30 - 1, Math.abs(-two_30 + 1));
77 var two_31 = 2 * two_30;
Dmath-imul.js114 var two_30 = 1 << 30; variable
116 TestMathImul(-two_30, two_30, 7);
117 TestMathImul(-two_30, 7, two_30);
118 TestMathImul(0, two_30, two_30);
120 TestMathImul(two_30, -two_30, 7);
121 TestMathImul(two_30, 7, -two_30);
122 TestMathImul(0, -two_30, -two_30);
125 var two_31 = 2 * two_30;
Dsmi-mul.js55 var two_30 = 1 << 30; variable
57 var two_31 = 2 * two_30;
65 assertEquals(two_30, mul2(-two_30, -1));
Dsmi-mul-const.js76 var two_30 = 1 << 30; variable
78 var two_31 = 2 * two_30;
85 assertEquals(two_30, mul_by_neg_1(-two_30));
/external/chromium_org/v8/test/mjsunit/compiler/
Dmath-floor-local.js93 var two_30 = 1 << 30;
95 testFloor(two_30, two_30);
96 testFloor(two_30, two_30 + 0.1);
97 testFloor(two_30, two_30 + 0.5);
98 testFloor(two_30, two_30 + 0.7);
100 testFloor(two_30 - 1, two_30 - 1);
101 testFloor(two_30 - 1, two_30 - 1 + 0.1);
102 testFloor(two_30 - 1, two_30 - 1 + 0.5);
103 testFloor(two_30 - 1, two_30 - 1 + 0.7);
105 testFloor(-two_30, -two_30);
[all …]
Dmath-floor-global.js93 var two_30 = 1 << 30;
95 testFloor(two_30, two_30);
96 testFloor(two_30, two_30 + 0.1);
97 testFloor(two_30, two_30 + 0.5);
98 testFloor(two_30, two_30 + 0.7);
100 testFloor(two_30 - 1, two_30 - 1);
101 testFloor(two_30 - 1, two_30 - 1 + 0.1);
102 testFloor(two_30 - 1, two_30 - 1 + 0.5);
103 testFloor(two_30 - 1, two_30 - 1 + 0.7);
105 testFloor(-two_30, -two_30);
[all …]