Functions
Tanhdp

Functions

double tanhdp_c (double a)
 

Detailed Description

Function Documentation

◆ tanhdp_c()

double tanhdp_c ( double  a)
Description:
The tanhdp function returns the hyperbolic tangent function of a real floating-point argument a. If |a| is larger than 19.0 the hyperbolic tangent function reaches a maximum of |1.0| for double-precision.
Parameters
[in]a= Input float
Returns
Resultant float
Special Cases:
  • If a > 19.0, then the return value is 1.0 (maximum output for the hyperbolic tangent).
  • If a < -19.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.

Copyright 2022, Texas Instruments Incorporated