michael@0: function testIntUnderflow() { michael@0: // int32_min + 8 michael@0: var ival = -2147483648 + 8; michael@0: for (var i = 0; i < 30; i++) { michael@0: ival -= 2; michael@0: } michael@0: return (ival > -2147483648); michael@0: } michael@0: assertEq(testIntUnderflow(), false);