fpclassify 函数

分类为 NaN 的参数值,无穷大,常规,低质零,

inline int fpclassify(
   float _X
) restrict(amp);
inline int fpclassify(
   double _X
) restrict(amp);

参数

  • _X
    浮点值

返回值

返回相应于参数的值的数字分类宏的值。

要求

**头文件:**amp_math.h

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

请参见

参考

Concurrency::precise_math 命名空间