aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/es6.math.asinh.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
commit5f466137ad6ac596600e3ff53c9b786815398445 (patch)
treef914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/core-js/modules/es6.math.asinh.js
parentc9f5ac8e763eda19aa0564179300cfff76785435 (diff)
node_modules, clean up package.json
Diffstat (limited to 'node_modules/core-js/modules/es6.math.asinh.js')
-rw-r--r--node_modules/core-js/modules/es6.math.asinh.js6
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