计算参数的余弦
inline float cos(
float _X
) restrict(amp);
inline double cos(
double _X
) restrict(amp);
参数
- _X
浮点值
返回值
返回参数的余弦值。
要求
**头文件:**amp_math.h
**命名空间:**Concurrency::precise_math
计算参数的余弦
inline float cos(
float _X
) restrict(amp);
inline double cos(
double _X
) restrict(amp);
返回参数的余弦值。
**头文件:**amp_math.h
**命名空间:**Concurrency::precise_math