summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1293542.js
blob: 3f59d7b61be42bba2ac26cd42764e2211620627e (plain)
1
2
3
4
5
6
7

try { eval("3 ** 4") } catch (e if e instanceof SyntaxError) { quit(); };

var f = new Function("x", "return (x ** (1 / ~4294967297)) && x");
for (var i = 0; i < 2; ++i) {
    assertEq(f(-Infinity), 0);
}