1// 20.2.2.7 Math.atanh(x)
2var $export = require('./_export');
3var $atanh = Math.atanh;
4
5// Tor Browser bug: Math.atanh(-0) -> 0
6$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
7  atanh: function atanh(x) {
8    return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
9  }
10});
11