bug1769410.js (346B)
1 // |jit-test| --fast-warmup 2 function f(x) { 3 var a = Math.fround(Math.fround(false)); 4 var b = Math.min(a, x ? Math.fround(x) : Math.fround(x)); 5 return b >>> 0; 6 } 7 function test() { 8 with (this) {} // Don't inline. 9 for (var i = 0; i < 100; i++) { 10 assertEq(f(Infinity), 0); 11 } 12 assertEq(f(-1), 4294967295); 13 } 14 test();