blob: 656ea409d1117d1c4909f53996213144f95cae8a (
plain)
1
2
3
4
5
6
7
8
|
// 20.2.2.7 Math.atanh(x)
var $export = require('./$.export');
$export($export.S, 'Math', {
atanh: function atanh(x){
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
}
});
|