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

7 lines
110 B
JavaScript
Raw Permalink Normal View History

2023-10-02 13:04:02 +00:00
export default function(x) {
var y = 1 + x;
var z = y - 1;
return z === 0 ? x : x * Math.log(y) / z;
}