Searched refs:two_31 (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/mjsunit/ |
D | math-imul.js | 125 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);
|
D | math-abs.js | 77 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));
|
D | smi-mul.js | 57 var two_31 = 2 * two_30; variable 59 if (%IsValidSmi(two_31)) { 61 assertEquals(two_31, mul2(-two_31, -1));
|
D | shift-for-integer-div.js | 58 var two_31 = 1 << 31; variable 63 assertEquals(-two_31, divn1(two_31));
|
D | smi-mul-const.js | 78 var two_31 = 2 * two_30; variable 82 assertEquals(two_31, mul_by_neg_1(-two_31));
|