biofriction-wp-theme/node_modules/core-js/library/modules/es6.math.cosh.js

10 lines
187 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
// 20.2.2.12 Math.cosh(x)
var $export = require('./_export');
var exp = Math.exp;
$export($export.S, 'Math', {
cosh: function cosh(x) {
return (exp(x = +x) + exp(-x)) / 2;
}
});