vec_all_nan
Purpose
Tests whether each element of the given vector is a NaN.
This built-in function is valid only when you include the altivec.h file.
Syntax
d=vec_all_nan(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 each element of a is a NaN. Otherwise, the result is 0.


