四舍五入 _X 为最接近的整数
inline float round(
float _X
) restrict(amp);
inline double round(
double _X
) restrict(amp);
参数
- _X
浮点值
返回值
返回 _X 最近的整数
要求
标题: amp_math.h
命名空间: 并发:: precise_math
四舍五入 _X 为最接近的整数
inline float round(
float _X
) restrict(amp);
inline double round(
double _X
) restrict(amp);
返回 _X 最近的整数
标题: amp_math.h
命名空间: 并发:: precise_math