powered by
Compute f(a) = log(1 - exp(-a)) quickly and numerically accurately.
log1mexp(x)
numeric vector of positive values.
Martin M<U+00E4>chler (2012). Accurately Computing \(\log(1-\exp(-|a|))\); https://CRAN.R-project.org/package=Rmpfr/vignettes/log1mexp-note.pdf.
The log1mexp() function in CRAN package copula, and the corresponding vignette (in the ‘References’).
log1mexp()