ansel0926
2022-05-17 585932b46cb2dda666453a493f68cb47d3a5ccd5
1
2
3
4
module.exports = function(x) {
  var s = (x >= 0 ? 1 : -1);
  return s * (Math.log(Math.abs(x) + Math.sqrt(x * x + 1)));
};