Procedure call syntax:
#include <simdmath.h> |
vector unsigned long long islessgreaterd2(vector double x, vector double y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <islessgreaterd2.h> |
vector unsigned long long _islessgreaterd2(vector double x, vector double y); |
Parameters | |
x | input vector |
y | input vector |
The islessgreaterd2 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.
ULLONG_MAX | if the element of x is less than or greater than the element of y. |
0 | otherwise. |
SPU only
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) islessgreater macros.