Procedure call syntax:
| #include <simdmath.h> |
| vector unsigned int islessequalf4(vector float x, vector float y); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <islessequalf4.h> |
| vector unsigned int _islessequalf4(vector float x, vector float y); |
| Parameters | |
| x | input vector |
| y | input vector |
The islessequalf4 function returns a vector in which each element indicates if the corresponding element of x is less than or equal to the corresponding element of y. This function correctly compares subnormal values.
Special cases:
If either element is NaN the comparison is false.
If both elements are infinite 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 equal to the corresponding element of y. |
| 0 | otherwise. |
SPU and PPU
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) islessequal macros.