nextafter 函数

在_X 后决定下一步中可用的值,在函数的类型,向_Y 的方向

inline float nextafter(
   float _X,
   float _Y
) restrict(amp);
inline double nextafter(
   double _X,
   double _Y
) restrict(amp);

参数

  • _X
    浮点值

  • _Y
    浮点值

返回值

在_X 后返回下一个可以可用的值,在函数的类型,向_Y 的方向

要求

**标头:**amp_math.h

**命名空间:**Concurrency::precise_math

请参见

参考

Concurrency::precise_math 命名空间