bug1538083.js (220B)
1 // Crashes with --no-threads --ion-eager. 2 x = [8589934592, -0]; 3 y = [0, 0]; 4 for (let i = 0; i < 2; ++i) { 5 y[i] = Math.trunc(Math.tan(x[i])); 6 } 7 assertEq(Object.is(y[0], 1), true); 8 assertEq(Object.is(y[1], -0), true);