Calculates the natural logarithm (base e) of d + 1.
long double log1pl(long double d);
d Value for which the natural logarithm of this parameter + 1 is to be computed
Normal: Natural logarithm of d + 1
Abnormal: Domain error: Returns not-a-number.
Range error: Returns –HUGE_VAL, –HUGE_VALF, or –HUGE_VALL depending on the function.
A domain error occurs if d is smaller than –1.
A range error occurs if d is –1.
log1p(d) provides more accurate calculation than log(1+d) even when d is near to 0.