3.304. __nv_sincospif

void @__nv_sincospif(float %x, float* %sptr, float* %cptr)

Calculate the sine and cosine of the first input argument \(\times \pi\).

Calculate the sine and cosine of the first input argument, x (measured in radians), \(\times \pi\). The results for sine and cosine are written into the second argument, sptr, and, respectively, third argument, zptr.

See __nv_sinpif() and __nv_cospif().

Note

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

Returns

  • none