3.5.1.1.26 Ln1p


Description

Minimum Origin Version Required: 2019 SR0

This function returns the natural logarithm for the given x when x is very approaching to 1.

Syntax

double ln1p( double x)

Parameters

x

a real number approaching to 1.

Return

Returns the value of ln(x) when x is very approaching to 1.

Example

ln1p(1+10^-24)=;     // ANS: ln1p(1+10^-24)=0.69314718055995
ln1p(1-10^-10)=;     // ANS: ln1p(1-10^-10)=0.69314718050995

See Also

ln, log