__device__ float sinf ( float  x  ) 

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

Returns:
  • sinf($\pm 0$) returns $\pm 0$.
  • sinf($\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