vec_sqrt
Purpose
Returns a vector containing the square root of each element in the given vector.
This built-in function is valid only when -qarch is set to target POWER7® processors or higher.
Syntax
d=vec_sqrt(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
vector float | vector float |
vector double | vector double |