橘子味的心
标题: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);

}

目录

分类