MicrOS
log1pl.c File Reference
#include "../math.h"

Functions

long double log1pl (long double x)
 Compute natural logarithm of value + 1. More...
 

Function Documentation

◆ log1pl()

long double log1pl ( long double  x)

Compute natural logarithm of value + 1.

The log1pl functions compute the base-e (natural) logarithm of 1 plus the argument. A domain error occurs if the argument is less than −1. A pole error may occur if the argument equals −1.

Parameters
xValue whose logarithm is calculated.
Returns
The log1pl functions return log_e(1 + x).