| Current Path : /home3/gp97/courrierscolo.97gp.net/node_modules/core-js/modules/ |
| Current File : //home3/gp97/courrierscolo.97gp.net/node_modules/core-js/modules/es6.math.asinh.js |
// 20.2.2.5 Math.asinh(x)
var $export = require('./_export')
, $asinh = Math.asinh;
function asinh(x){
return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
}
// Tor Browser bug: Math.asinh(0) -> -0
$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});