summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug946969.js
blob: b2fb1873243c1dfd82296e3525001d5495340885 (plain)
1
2
3
4
5
6
function f() {
    return Math.abs(~(Math.tan()));
}

for (var i=0; i<1000; i++)
    assertEq(f(i), 1);