ansel0926
2022-05-14 ecdaa37a673565e8e7419ac9062106b89e051c3e
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)));
};