3.303. __nv_sincospi

void @__nv_sincospi(double %x, double* %sptr, double* %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_sinpi() and __nv_cospi().

Note

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

Returns

  • none