vec_splatid
Purpose
Converts an immediate single-precision floating-point value to double precision, and copies the result into every element of a vector.
Note: This built-in function
is valid only when the -mcpu option is set to target Power10 processors.
Syntax
d=vec_splatid(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
| d | a |
|---|---|
| vector double | const float |
Result value
The result d is a vector with each element set to the value
of a after a is converted to double precision.