Home
last modified time | relevance | path

Searched refs:two_31 (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/mjsunit/
Dmath-imul.js125 var two_31 = 2 * two_30; variable
127 TestMathImul(-two_31, two_31, 7);
128 TestMathImul(-two_31, 7, two_31);
129 TestMathImul(0, two_31, two_31);
131 TestMathImul(-two_31, -two_31, 7);
132 TestMathImul(-two_31, 7, -two_31);
133 TestMathImul(0, -two_31, -two_31);
136 var max_val = two_31 - 1;
138 TestMathImul(two_31 - 7, max_val, 7);
139 TestMathImul(two_31 - 7, 7, max_val);
Dmath-abs.js77 var two_31 = 2 * two_30;
79 assertEquals(two_31, Math.abs(two_31));
80 assertEquals(two_31, Math.abs(-two_31));
82 assertEquals(two_31 + 1, Math.abs(two_31 + 1));
83 assertEquals(two_31 + 1, Math.abs(-two_31 - 1));
85 assertEquals(two_31 - 1, Math.abs(two_31 - 1));
86 assertEquals(two_31 - 1, Math.abs(-two_31 + 1));
Dsmi-mul.js57 var two_31 = 2 * two_30; variable
59 if (%IsValidSmi(two_31)) {
61 assertEquals(two_31, mul2(-two_31, -1));
Dshift-for-integer-div.js58 var two_31 = 1 << 31; variable
63 assertEquals(-two_31, divn1(two_31));
Dsmi-mul-const.js78 var two_31 = 2 * two_30; variable
82 assertEquals(two_31, mul_by_neg_1(-two_31));