ES6 - Fonction math expm1 (X)
Équivalent à Math.exp (x) - 1.
Syntaxe
Math.expm1( x );
Paramètre
x - représente un nombre
Valeur de retour
Renvoie la valeur de Math.exp (x) - 1
Exemple
console.log("---Math.expm1()---")
console.log("Math.expm1(1) : "+Math.expm1(1))
console.log("Math.expm1(5.5) : "+Math.expm1(5.5))
Production
---Math.expm1()---
Math.expm1(1) : 1.718281828459045
Math.expm1(5.5) : 243.69193226422038