log10

 

Description

log base 10; see log or ln functions for log base e

Syntax

double log10( double x )

Parameters

x
[input] independent variable

Return

log10(x)

Examples

EX1

void    log10_ex1()
{
    double        x = 10000.;
    double        val = log10(x);
    
    printf("log10(%f) = %f\n", x, val);
}

Remark

logarithm of base 10

See Also

ln, log

header to Include

origin.h

Reference