VEC_ANY_OUT(ARG1, ARG2)

Purpose

Tests whether the value of any element of a given vector is outside of a given range.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) REAL(4) vector
ARG2
An INTENT(IN) vector of the same type as ARG1

Result type and attributes

The result is an INTEGER(4).

Result value

The result is 1 if the absolute value of any element of ARG1 is greater than the value of the corresponding element of ARG2 or less than the negative of the value of the corresponding element of ARG2. 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