Everything

log1pl [V1.08 or later]


Natural logarithm of 1 plus the argument

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far log1pl(long double x); (C99)

[Return value]

Returns the natural logarithm of 1 plus x.

If x is smaller than -1, returns a Not-a-Number (NaN) and sets macro EDOM to global variable errno.

If x is -1, returns -HUGE_VALL and sets macro ERANGE to global variable errno.

[Description]

This function calculates the natural logarithm of 1 plus x.