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

Functions

long double logl (long double x)
 Compute natural logarithm. More...
 

Function Documentation

◆ logl()

long double logl ( long double  x)

Compute natural logarithm.

The logl functions compute the base-e (natural) logarithm of x. A domain error occurs if the argument is negative. A pole error may occur if the argument is zero.

Parameters
xValue whose logarithm is calculated.
Returns
The logl functions return log_e x.