__device__ float __tanf ( float  x  ) 

Calculate the fast approximate tangent of the input argument x, measured in radians.

Returns:
Returns the approximate tangent of x.
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-4.

The result is computed as the fast divide of __sinf() by __cosf(). Denormal input and output are flushed to sign-preserving 0.0 at each step of the computation.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA