summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug995675.js
blob: 81f9c1b0702a1cf0e5a92ce3e30127b181209179 (plain)
1
2
3
4
5
function f(x) {
        return Math.cos(~(~Math.pow(Number.MAX_VALUE, x)))
}
f(-0)
assertEq(f(undefined - undefined), 1)