fabsf4

NAME

fabsf4 - return the absolute values of floating values

SYNOPSIS

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

DESCRIPTION

The fabsf4 function returns a vector containing the absolute values of the elements of the input vector.

RETURN VALUE

The function fabsf4 returns a float vector in which each element is defined as the absolute value of the corresponding element of x.

ENVIRONMENT

SPU and PPU

CONFORMING TO

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

NOTES

Basis:

ISO9899 (C99) fabs function

SEE ALSO

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