Calculates the hyperbolic tangent.
double tanh (double x);
Required Header |
<math.h> |
Return Value
This function returns the hyperbolic tangent of a double in radians.
Parameters
x
The value to be converted
Remarks
The tanh function calculates the hyperbolic tangent of x to 15 digits of precision.
See Also asin, acos, atan, atan2, sin, cos, tan, sinh, cosh, cot