VEC_ANY_NAN(ARG1)

Purpose

Tests whether any element of the given vector is a NaN.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) real vector

Result type and attributes

The result is an INTEGER(4).

Result value

The result is 1 if any element of ARG1 is a NaN. Otherwise, the result is 0.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us