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