MathLog

Returns the logarithm of a number by base 10.

double  MathLog10(
   double  val      // number to take logarithm
   );

Parameters

val

[in]  Numeric value the common logarithm of which is to be calculated.

Return Value

The common logarithm in case of success. If val is negative, the function returns NaN (undetermined value). If val is equal to 0, the function returns INF (infinity).

Note

Instead of MathLog10() you can use log10().

See also

Real types (double, float)