#include <stdio.h>
#include <math.h>
int main()
{
float a = 2.78f,d=0.8888;
int b = 90;
int c = 5;
printf("cos(%f)=%f\n", 2.78, cos(2.78));
printf("log10(%d)=%f\n",90, log10(90));
printf("sqrt(%d)=%f\n",5, sqrt(5));
printf("exp(%f)=%f\n",0.8888, exp(0.8888));
return 0;
}
标签:2.78,cos,int,数值,printf,0.8888,90,math,库函数 From: https://blog.51cto.com/u_16336886/8588972