Procedure call syntax:
| #include <simdmath.h> |
| vector double negated2(vector double x); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <negated2.h> |
| vector double _negated2(vector double x); |
| Parameter | |
| x | input vector |
The negated2 function returns a vector of the corresponding elements of x in which each element has its sign inverted.
The function negated2 returns a double vector in which each element is defined as the negation of the corresponding element of x.
SPU only
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) negate functions.