public static native double log1p (double x)

Returns the natural logarithm of the sum of the argument and 1. Note that for small values x, the result of log1p(x) is much closer to the true result of ln(1 + x) than the floating-point evaluation of log(1.0+x).

Special cases:

Parameters:
x    a value

Returns:  the value ln( x + 1), the natural log of x + 1

Since:  1.5