Everything

tanh / tanhf / tanhl


Calculates the hyperbolic tangent of a floating-point number.

[Format]

#include <math.h>

double tanh (double d);

float tanhf (float d);

long double tanhl (long double d);

[Parameters]

d Floating-point number for which hyperbolic tangent is to be computed

[Return values]

Hyperbolic tangent of d