proj4js/lib/common/acosh.js
2017-01-24 23:37:28 +01:00

3 lines
102 B
JavaScript

export default function(x) {
return 2 * Math.log(Math.sqrt((x + 1) / 2) + Math.sqrt((x - 1) / 2));
}