remainder 函数

计算余数:_X REM _Y

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

参数

  • _X
    浮点值

  • _Y
    浮点值

返回值

返回_X REM _Y

要求

**头文件:**amp_math.h

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

请参见

参考

Concurrency::precise_math 命名空间