Procedure call syntax:
#include <simdmath.h> |
vector signed int absi4(vector signed int x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath/absi4.h> |
vector signed int _absi4(vector signed int x); |
Parameters:
x | input vector |
The absi4 function returns a vector containing the absolute values of the elements of the input vector.
The absi4 function returns a signed int vector in which each element is defined as the absolute value of the corresponding element of the input vector.
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis:
ISO9899 (C99) abs function