vec_any_numeric

Purpose

Tests whether any element of the given vector is numeric (not a NaN).

Syntax

d=vec_any_numeric(a)

Result and argument types

The following table describes the types of the returned value and the function arguments.

d a
int vector float
vector double

Result value

The result is 1 if any element of a is numeric (not 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