michael@0: // Properties of Math.expm1 that are guaranteed by the spec. michael@0: michael@0: // If x is NaN, the result is NaN. michael@0: assertEq(Math.expm1(NaN), NaN); michael@0: michael@0: // If x is +0, the result is +0. michael@0: assertEq(Math.expm1(+0), +0); michael@0: michael@0: // If x is −0, the result is −0. michael@0: assertEq(Math.expm1(-0), -0); michael@0: michael@0: // If x is +∞, the result is +∞. michael@0: assertEq(Math.expm1(Infinity), Infinity); michael@0: michael@0: // If x is −∞, the result is -1. michael@0: assertEq(Math.expm1(-Infinity), -1); michael@0: michael@0: michael@0: reportCompare(0, 0, "ok"); michael@0: