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

Calculate the 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
See also:
sinf() and cosf().
Note:
For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.

This function is affected by the --use_fast_math compiler flag. See the CUDA C Programming Guide, Appendix C, Table C-3 for a complete list of functions affected.


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA