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

8 lines
192 B
JavaScript

// 20.2.2.7 Math.atanh(x)
var $export = require('./$.export');
$export($export.S, 'Math', {
atanh: function atanh(x){
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
}
});