ln

 

Description

Natural logarithm, same as log(x)

Syntax

double ln( double x )

Parameters

x
[input] independent variable

Return

ln(x)

Examples

EX1

void    ln_ex1()
{
    double        x = 123.;
    double        val = ln(x);
    
    printf("ln(%f) = %f\n", x, val);
}

Remark

See Also

log, log10

Header to Include

origin.h

Reference