__device__ float tanf ( float  x  ) 

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

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

This function is affected by the --use_fast_math compiler flag. See the CUDA C Programming Guide, Appendix C, Table C-3 for a complete list of functions affected.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA