summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1451976.js
blob: 565362bc37030f3cd39209bfcec13b2c30387070 (plain)
1
2
3
4
5
6
7
8
9
10
11
// This test case originally failed under --enable-more-deterministic

setJitCompilerOption("ion.forceinlineCaches", 1);
function f(y, z) {
    return Math.fround(z) < ~y;
};
var x = [2 ** 53 - 2, 0];
for (var i = 0; i < 3; ++i) {
    assertEq(f(x[0], x[1]),true);
}