The tanhsp function returns the hyperbolic tangent function of a real floating-point argument a. If |a| is larger than 9 the hyperbolic tangent function reaches a maximum of |1.0| for single-precision.
Parameters:
[in]
a
= Input float
Returns:
Resultant float
Special Cases:
If a > 9.0, then the return value is 1.0 (maximum output for the hyperbolic tangent).