GT2/Ejectable/node_modules/core-js/modules/es6.math.cosh.js

9 lines
189 B
JavaScript

// 20.2.2.12 Math.cosh(x)
var $export = require('./$.export')
, exp = Math.exp;
$export($export.S, 'Math', {
cosh: function cosh(x){
return (exp(x = +x) + exp(-x)) / 2;
}
});