Tests whether any set of corresponding elements of the given vectors are not equal.
d=vec_any_ne(a, b)
The following table describes the types of the returned value and the function arguments.
| d | a | b |
|---|---|---|
| int | vector bool char | vector bool char |
| vector signed char | ||
| vector unsigned char | ||
| vector signed char | vector bool char | |
| vector signed char | ||
| vector unsigned char | vector bool char | |
| vector unsigned char | ||
| vector bool short | vector bool short | |
| vector signed short | ||
| vector unsigned short | ||
| vector signed short | vector bool short | |
| vector signed short | ||
| vector unsigned short | vector bool short | |
| vector unsigned short | ||
| vector bool int | vector bool int | |
| vector signed int | ||
| vector unsigned int | ||
| vector signed int | vector bool int | |
| vector signed int | ||
| vector unsigned int | vector bool int | |
| vector unsigned int | ||
| vector bool long long | vector bool long long | |
| vector signed long long | ||
| vector unsigned long long | ||
| vector signed long long | vector bool long long | |
| vector signed long long | ||
| vector unsigned long long | vector bool long long | |
| vector unsigned long long | ||
| vector float | vector float | |
| vector double | vector double |
The result is 1 if any element of a is not equal to the corresponding element of b. Otherwise, the result is 0.