vec_ctsl

Purpose

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

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

Syntax

d=vec_ctsl(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 signed 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.

Related information