__device__ void __sincosf ( float  x,
float *  sptr,
float *  cptr 
)

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, cptr.

Returns:
  • none
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-4.

Denorm input/output is flushed to sign preserving 0.0.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA