3.312. __nv_tan
-
double @__nv_tan(double %x)
Calculate the tangent of the input argument.
Calculate the tangent of the input argument
x(measured in radians).Note
For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Double-Precision Floating-Point Functions section.
- Returns
__nv_tan( \(\pm 0\) ) returns \(\pm 0\).
__nv_tan( \(\pm \infty\) ) returns NaN.