UNPKG

proj4

Version:

Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.

4 lines 123 B
module.exports = function(x) { var s = (x >= 0 ? 1 : -1); return s * (Math.log(Math.abs(x) + Math.sqrt(x * x + 1))); };