C Reference function log10()
Usage of log10():
double log10(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value.
Source code example of log10():
#include<stdio.h>
#include<math.h>
main()
{
double input, output;
input = 200.0;
output = log10 (input);
printf ("log10(%lf) = %lf\n", input, output);
return 0;
}
Output of the log10 example program above:
log10(200.000000) = 2.301030
This entry was posted in C Reference math.h Functions.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Tweet This! or use
to share this post with others.