Skip to main content

log10

Discworld driver help

log10

Name

log10() - returns the base 10 logarithm of a number

Synopsis

float log10( float f );
float log10( int f );

Description

Returns the base 10 logarithm of its argument, `f'. `f' must be positive.

By the rules of logarithms, log10( x ) == log( x ) / log( 10 ).

See also

log(), log2(), exp(), pow(), sqrt()