negatei4

NAME

negatei4 - invert the signs of integer values

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector signed int negatei4(vector signed int x);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <negatei4.h>
vector signed int _negatei4(vector signed int x);
Parameters  
x input vector

DESCRIPTION

The negatei4 function returns a vector of the corresponding elements of x in which each element has its sign inverted.

RETURN VALUE

The function negatei4 returns a signed int vector in which each element is defined as the negation of the corresponding element of x.

If an element cannot be represented the corresponding result is undefined; no error is reported.

ENVIRONMENT

SPU and PPU

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) negate functions.

SEE ALSO

negate(3), negatef4(3), negated2(3), negatell2(3), abs(3), absi4(3), fabsf4(3), fabsd2(3), llabsi2(3), signbit(3), signbitf4(3), signbitd2(3), copysign(3) , copysignf4(3), copysignd2(3)