Skip to content
Prev 366024 / 398502 Next

Log plus one transformation in R

log1p(x), in the base package computes log(1+x) accurately for small x (and
large).

E.g.,
[1] 9.99999999999995e-15
[1] 7.992778373591124e-18
precBits=1000))) - log1p(1e-14)
[1] 0


Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Mon, Dec 12, 2016 at 8:23 AM, Faradj Koliev <faradj.g at gmail.com> wrote: