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