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

Functions

float log10f (float x)
 Compute 10 based logarithm. More...
 

Function Documentation

◆ log10f()

float log10f ( float  x)

Compute 10 based logarithm.

The log10f functions compute the base-10 (common) 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 log10f functions return log_10 x.