Calculate logarithm base 10: how to use log10
#include <stdio.h>
#include <math.h>
int main ()
{
double param, result;
param = 100.0;
result = log10 (param);
printf ("log10(%lf) = %lf\n", param, result );
return 0;
}
Related examples in the same category