1 var $ = require('../internals/export');
2 var expm1 = require('../internals/math-expm1');
4 var nativeCosh = Math.cosh;
9 // https://tc39.es/ecma262/#sec-math.cosh
10 $({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, {
11 cosh: function cosh(x) {
12 var t = expm1(abs(x) - 1) + 1;
13 return (t + 1 / (t * E * E)) * (E / 2);