__device__ float tanhf ( float  x  ) 

Calculate the hyperbolic tangent of the input argument x (measured in radians).

Returns:
  • tanhf($\pm 0$) returns $\pm 0$.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA