Procedure call syntax:
#include <simdmath.h> |
vector unsigned int islessgreaterf4(vector float x, vector float y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <islessgreaterf4.h> |
vector unsigned int _islessgreaterf4(vector float x, vector float y); |
Parameters | |
x | input vector |
y | input vector |
The islessgreaterf4 function returns a vector in which each element indicates if the corresponding element of x is less than or greater than the corresponding element of y. This function correctly compares subnormal numbers.
Special Cases:
If either element is NaN the elements are considered unequal.
If both elements are infinity with the same sign the elements are considered equal.
The values +0 and -0 are considered equal.
UINT_MAX | if the element of x is less than or greater than the element of y. |
0 | otherwise. |
SPU and PPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) islessgreater macros.