log1p
log1p(x)
log1p(x, base)
Calculate the logarithm of a `value+1`
Try it yourself:
$1 | log1p(2.5)
| |
$2 | exp(log1p(1.4))
| |
$3 | pow(10, 4)
| |
$4 | log1p(9999, 10)
| |
$5 | log1p(9999) / log(10)
|