Computes the natural logarithm of 1-exp(-|x|).
1-exp(-|x|)
input value
function value
var v = log1mexp( 1.1 ); // returns ~-0.40477
var v = log1mexp( 0.0 ); // returns -Infinity
var v = log1mexp( NaN ); // returns NaN
Computes the natural logarithm of
1-exp(-|x|)
.