Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->log10() log10l()

Summary

#include "math.h"
    
double log10(double x)Calculate logarithm to base 10 to double precision
long double log10l(long double x)Calculate logarithm to base 10 to long double precision

Parameter
    
xFloating point value

Description

These functions calculate the logarithm to base 10 of x.  The result is undefined if x is less than zero.



Return

These functions return the logarithm to base 10 of the parameter passed.