vec_ctd

Purpose

Converts the type of each element in a from integer to floating-point single precision and divides the result by 2 to the power of b.

Syntax

d=vec_ctd(a, b)

Result and argument types

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

d a b
vector double vector signed int 0-31
vector unsigned int
vector signed long long
vector unsigned long long


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