sincos 函数

计算 _X 正弦和余弦值

inline void sincos(
   float _X,
   _Out_ float * _S,
   _Out_ float * _C
) restrict(amp);
inline void sincos(
   double _X,
   _Out_ double * _S,
   _Out_ double * _C
) restrict(amp);

参数

  • _X
    浮点值

  • _S
    返回 _X 的正弦值

  • _C
    返回 _X 的余弦值

要求

标题: amp_math.h

命名空间: Concurrency::precise_math

请参见

参考

Concurrency::precise_math 命名空间