使用当前舍入的方向,舍入参数传递给整数值为浮点格式,。
inline float nearbyint(
   float _X
) restrict(amp);
inline double nearbyint(
   double _X
) restrict(amp);
参数
- _X
浮点值 
返回值
返回舍入的整数值。
要求
标题: amp_math.h
命名空间: 并发:: precise_math
使用当前舍入的方向,舍入参数传递给整数值为浮点格式,。
inline float nearbyint(
   float _X
) restrict(amp);
inline double nearbyint(
   double _X
) restrict(amp);
返回舍入的整数值。
标题: amp_math.h
命名空间: 并发:: precise_math