vec_abss

Purpose

Returns a vector containing the saturated absolute values of the elements of a given vector.

Syntax

d=vec_abss(a)

Result and argument types

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

Table 1. Types of the returned value and function argument
d a
vector signed char vector signed char
vector signed short vector signed short
vector signed int vector signed int

Result value

The value of each element of the result is the saturated absolute value of the corresponding element of a.