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 |
The fdimf4 function returns a vector of the positive differences between the elements of the input vectors.
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.
SPU and PPU
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) fdim functions.