document.write("Math.expm1(-1) = " + Math.expm1(-1) + "<br />");
document.write("Math.expm1(1) = " + Math.expm1(1) + "<br />");
document.write("Math.expm1(0) = " + Math.expm1(0) + "<br />");
document.write("Math.expm1(-0) = " + Math.expm1(-0) + "<br />");
document.write("Math.expm1(100) = " + Math.expm1(100) + "<br />");
document.write("Math.expm1(710) = " + Math.expm1(710) + "<br />");
document.write("Math.expm1(Infinity) = " + Math.expm1(Infinity) + "<br />");
document.write("Math.expm1(-Infinity) = " + Math.expm1(-Infinity) + "<br />");
/*
run
Math.expm1(-1) = -0.6321205588285577
Math.expm1(1) = 1.718281828459045
Math.expm1(0) = 0
Math.expm1(-0) = 0
Math.expm1(100) = 2.6881171418161356e+43
Math.expm1(710) = Infinity
Math.expm1(Infinity) = Infinity
Math.expm1(-Infinity) = -1
*/