← 返回列表

C库函数 tanh()

C库函数 tanh() #include <stdio.h> #include <math.h> int main () { double x, ret; x = 0.5; ret = tanh(x); printf("The hyperbolic tangent of %lf is %lf degrees", x, ret); return(0); }

C库函数 tanh()

#include <stdio.h>

#include <math.h>



int main () {

   double x, ret;

   x = 0.5;



   ret = tanh(x);

   printf("The hyperbolic tangent of %lf is %lf degrees", x, ret);



   return(0);

}

打开资源 ↗

交流与评论