__device__ double sin ( double  x  ) 

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

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


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA