JS: Math hyperbolic functions. sinh, cosh, tanh, etc.
Math.sinh(x)-
Hyperbolic sine. That is
(e^x - e^(-x))/2
sinh 2026-06-29 1b483 ll console.log(Math.sinh(1)); // 1.1752011936438014 Math.cosh(x)-
hyperbolic cosine. That is
(e^x + e^(-x))/2 Math.tanh(x)-
Hyperbolic tangent. That is
Sinh[x]/Cosh[x]
Inverse hyperbolic functions
Math.asinh(x)-
Inverse hyperbolic sine.
Math.acosh(x)-
Inverse hyperbolic cosine.
Math.atanh(x)-
Inverse hyperbolic tangent.
The functions
Math.sinh
Math.cosh
Math.tanh
Math.asinh
Math.acosh
Math.atanh
are all
new in ECMAScript 2015.