tanh() Mathematics Function (libm) tanh() Calculate hyperbolic cosine #include <math.h> double tanh(radian) double radian; tanh calculates the hyperbolic tangent of radian, which is in radian measure. ***** Example ***** For an example of this function, see the entry for cosh. ***** See Also ***** mathematics library ***** Diagnostics ***** tanh sets errno to ERANGE when an overflow occurs. COHERENT Lexicon Page 1