2016-10-10 03:43:44 +02:00
|
|
|
// 20.2.2.7 Math.atanh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = require('./$.export');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Math', {
|
2016-10-10 03:43:44 +02:00
|
|
|
atanh: function atanh(x){
|
|
|
|
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
|
|
|
|
}
|
|
|
|
});
|