Skip to main content

log1p

functionv1.11

cljs.math/log1p

(log1p [x])
Returns ln(1+x). For small values of x, log1p(x) is more accurate than log(1.0+x). If x is ##NaN or ##-Inf or < -1 => ##NaN If x is -1 => ##-Inf If x is ##Inf => ##Inf See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p

No examples yet. Be the first to add one!