michael@0: function f(z) michael@0: { michael@0: return (((0x80000000 | 0) % (0x80000001 | z)) | 0) % 100000 michael@0: } michael@0: assertEq(f(0), -1); michael@0: assertEq(f(0), -1);