vec_rsp

Purpose

Returns a vector containing the single-precision values of the corresponding elements of the given vector.

Syntax

d=vec_rsp(a)

Result and argument types

The following table describes the types of the returned value and the function arguments.

d a
vector4double vector4double

Result value

The value of each element of the result contains the single-precision value of the corresponding element of a.

Formula

d[0] = (double) ( (float) a[0] )
d[1] = (double) ( (float) a[1] )
d[2] = (double) ( (float) a[2] )
d[3] = (double) ( (float) a[3] )