isfinite 函数

确定参数是否具有有限的值

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

参数

  • _X
    浮点值

返回值

返回一个非零值,如果,并且,当且仅当参数具有有限值

要求

**头文件:**amp_math.h

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

请参见

参考

Concurrency::precise_math 命名空间