vec_ctul

Purpose

Multiplies each element in a by 2 to the power of b and converts the result into an unsigned type.

Syntax

d=vec_ctul(a, b)

Result and argument types

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

Table 1. Result and argument types
d a b
vector unsigned long long vector float 0-31
vector double
Note: If an out-of-range value is passed to b, the compiler does not issue messages but the behavior is undefined.

Result value

This function does not use elements 1 and 3 of a when a is a float vector.

Related information