diff options
Diffstat (limited to 'node_modules/core-js/modules/es6.math.asinh.js')
-rw-r--r-- | node_modules/core-js/modules/es6.math.asinh.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/node_modules/core-js/modules/es6.math.asinh.js b/node_modules/core-js/modules/es6.math.asinh.js index bd34adf01..e6a74abb5 100644 --- a/node_modules/core-js/modules/es6.math.asinh.js +++ b/node_modules/core-js/modules/es6.math.asinh.js @@ -1,8 +1,10 @@ // 20.2.2.5 Math.asinh(x) -var $export = require('./$.export'); +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)); } -$export($export.S, 'Math', {asinh: asinh});
\ No newline at end of file +// Tor Browser bug: Math.asinh(0) -> -0 +$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});
\ No newline at end of file |