cos 函数

计算参数的余弦值

inline float cos(
   float _X
) restrict(amp);
inline double cos(
   double _X
) restrict(amp);

参数

  • _X
    浮点值

返回值

返回参数的余弦值

要求

标题: amp_math.h

命名空间: 并发:: precise_math

请参见

参考

Concurrency::precise_math 命名空间