Synopsis
#include <math.h>
float tanhf(float x);
Description

tanhf calculates the hyperbolic tangent of x.

IEC 60559 math library behavior

If x is NaN, tanhf returns NaN.

Portability

tanhf conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).