atanh.js 75 B

123
  1. module.exports = function(x) {
  2. return Math.log((x - 1) / (x + 1)) / 2;
  3. };