#include <math.h>
double tanh(double x);
#include <stdio.h>
#include <math.h>
int main()
{
double result = tanh(0.5);
printf ("tanh(0.5) = %f\n", result);
return 0;
}
./tanh
tanh(0.5) = 0.462117
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |