nearbyintf 函数

使用当前舍入的方向,舍入参数传递给整数值为浮点格式,。

inline float nearbyintf(
   float _X
) restrict(amp);

参数

  • _X
    浮点值

返回值

返回舍入的整数值。

要求

标题: amp_math.h

命名空间: 并发:: precise_math

请参见

参考

Concurrency::precise_math 命名空间