← 返回列表

C库函数 log10()

C库函数 log10() #include <stdio.h> #include <math.h> int main () { double x, ret; x = 10000; /* finding value of log1010000 */ ret = log10(x); printf("log10(%lf) = %lf\n", x, ret); return(0); }

C库函数 log10()

#include <stdio.h>

#include <math.h>



int main () {

   double x, ret;

   x = 10000;



   /* finding value of log1010000 */

   ret = log10(x);

   printf("log10(%lf) = %lf\n", x, ret);



   return(0);

}

打开资源 ↗

交流与评论