vec_revb

Purpose

Returns a vector that contains the bytes of the corresponding element of the argument in the reverse byte order.

Syntax

d=vec_revb(a)

Result and argument types

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

Table 1. Result and argument types
d a
  vector bool char
The same type as argument a vector signed char
vector unsigned char
vector bool short
vector signed short
vector unsigned short
vector bool int
vector signed int
vector unsigned int
vector bool long long
vector signed long long
vector unsigned long long
vector float
vector double

Result value

Each element of the result contains the bytes of the corresponding element of a in the reverse byte order.