3.305. __nv_sinf

float @__nv_sinf(float %x)

Calculate the sine of the input argument.

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

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Single-Precision Floating-Point Functions section.

Returns

  • __nv_sinf( \(\pm 0\) ) returns \(\pm 0\).

  • __nv_sinf( \(\pm \infty\) ) returns NaN.