Syntaxe :
#include <cmath> double tanh (double arg);
La fonction tanh()
renvoie la tangente hyperbolique de
arg
.
Le C++ fournit également les implémentations suivantes :
#include <cmath> float tanh (float arg); // identique à tanhf() en C99 long double tanh (long double arg); // identique à tanhl() en C99
Sujets connexes : acos, asin, atan, atan2, cos, cosh, sin, sinh, tan