函数名: tanh
功 能: 双曲正切函数
用 法: #include
double tanh(double x);
程序例:
#include
#include
int main(void)
{
double result, x;
x = 0.5;
result = tanh(x);
printf("The hyperbolic tangent of %lf is %lf\n", x,
result);
return 0;
}