proj4js/lib/common/atanh.js

3 lines
75 B
JavaScript

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