mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 05:31:41 +00:00
update
This commit is contained in:
10
node_modules/core-js/modules/es6.math.atanh.js
generated
vendored
Normal file
10
node_modules/core-js/modules/es6.math.atanh.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
// 20.2.2.7 Math.atanh(x)
|
||||
var $export = require('./_export');
|
||||
var $atanh = Math.atanh;
|
||||
|
||||
// Tor Browser bug: Math.atanh(-0) -> 0
|
||||
$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
|
||||
atanh: function atanh(x) {
|
||||
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user