vec_div
Purpose
Divides the elements in vector a by the corresponding elements in vector b and then assigns the result to corresponding elements in the result vector.
This function emulates the operation on integer vectors.
Syntax
d=vec_div(a, b)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a | b |
---|---|---|
vector signed char | vector signed char | vector signed char |
vector unsigned char | vector unsigned char | vector unsigned char |
vector signed short | vector signed short | vector signed short |
vector unsigned short | vector unsigned short | vector unsigned short |
vector signed int | vector signed int | vector signed int |
vector unsigned int | vector unsigned int | vector unsigned int |
vector signed long long | vector signed long long | vector signed long long |
vector unsigned long long | vector unsigned long long | vector unsigned long long |
vector float | vector float | vector float |
vector double | vector double | vector double |