tethys-feature-service/node_modules/proj4/lib/common/cosh.js

5 lines
88 B
JavaScript
Raw Normal View History

2023-10-02 13:04:02 +00:00
export default function(x) {
var r = Math.exp(x);
r = (r + 1 / r) / 2;
return r;
}