es6.math.atanh.js 192 Bytes Raw Blame History Permalink 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; } });