proj4js/lib/common/sinh.js

5 lines
91 B
JavaScript

module.exports = function(x) {
var r = Math.exp(x);
r = (r - 1 / r) / 2;
return r;
};