negated2

NAME

negated2 - invert the signs of double values

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

The function negated2 returns a double vector in which each element is defined as the negation of the corresponding element of x.

ENVIRONMENT

SPU only

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) negate functions.

SEE ALSO

negate(3), negatef4(3), negatei4(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)