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