isnan Function (fast_math)

Determines whether the argument is a NaN

inline int isnan(
   float _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::fast_math

See Also

Reference

Concurrency::fast_math Namespace