函数名: tanh
功  能: 双曲正切函数
用  法: double tanh(double x);
程序例:
#include <stdio.h>
#include <math.h>
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;
}