math.h
    Función tanh ANSI C
double tanh(double x);
Calcula la tangente hiperbólica de x.
Valor de retorno:
La función tanh retorna la tangente hiperbólica.
Ejemplo:
#include <stdio.h>
#include <math.h>
 
int main()
{
   double x = 3.0;
   printf( "tanh( %f ) = %f\n", x, tanh(x) );
   return 0;
}