fdimf4

NAME

fdimf4 - return the positive differences between float elements

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector float fdimf4(vector float x, vector float y);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <fdimf4.h>
vector float _fdimf4(vector float x, vector float y);
Parameters  
x,y input vectors

DESCRIPTION

The fdimf4 function returns a vector of the positive differences between the elements of the input vectors.

RETURN VALUE

The function fdimf4 returns a float vector in which each element is defined as the larger of (x - y) and zero, for corresponding elements of x and y.

ENVIRONMENT

SPU and PPU

CONFORMING TO

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

NOTES

Basis

ISO9899 (C99) fdim functions.

SEE ALSO

fdim(3), fdimd2(3), fmax(3), fmaxf4(3), fmaxd2(3), fmin(3), fminf4(3), fmind2(3)