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