michael@0: function f(x) { michael@0: return Math.cos(~(~Math.pow(Number.MAX_VALUE, x))) michael@0: } michael@0: f(-0) michael@0: assertEq(f(undefined - undefined), 1)