侃侃无极
函数名: log10功 能: 对数函数log,以10为底用 法: double log10(double x);程序例:#include <math.h>#include <stdio.h>int main(void){double result;double x = 800.6872; result = log10(x);printf("The common log of %lf is %lf\n", x, result); return 0;} 函数名: log功 能: 对数函数log,以e(2.71828)为底用 法: double log(double x);程序例:#include <math.h>#include <stdio.h>int main(void){double result;double x = 800.6872; result = log(x);printf("The common log of %lf is %lf\n", x, result); return 0;}