共用方式為


isnan Function

Determines whether the argument is a NaN

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

Parameters

  • _X
    Floating-point value

Return Value

Returns a nonzero value if and only if the argument has a NaN value

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace