Tanhsp


Detailed Description


Functions

float tanhsp_c (float a)
float tanhsp (float a)


Function Documentation

float tanhsp_c ( float  a  ) 

Description:
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).
  • If a < -9.0, then the return value is 1.0.
  • If a is NaN, the return value is NaN.
See also:
Implementation Notes:
  • The code supports both big and little endian modes.

float tanhsp ( float  a  ) 


Copyright 2016, Texas Instruments Incorporated