3.116. __nv_fast_sincosf

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

Calculate the fast approximate of sine and cosine of the first input argument.

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

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Intrinsic Functions section.

Note

Denorm input/output is flushed to sign preserving 0.0.

Returns

  • none