summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/div-by-constant-bug1555153.js
blob: b217f2cf4bff1b5fb636db786bdd5d8b10e6741c (plain)
1
2
3
4
5
x = [99999999999999999999999999, -(2 ** 53 - 2)];
res = [0, 2 / 3];
for (let i = 0; i < 2; ++i) {
    assertEq((x[i] | 0) / 3, res[i]);
}