es6.math.atanh.js 192 B

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