vec_rsqrt

Purpose

Returns a vector that contains estimates of the reciprocal square roots of the corresponding elements of the given vector.

Syntax

d=vec_rsqrt(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

Result value

Each element of the result contains the reciprocal square root of the corresponding element of a by using the vector reciprocal square root estimate instruction and iterative refinement.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us