Procedure call syntax:
#include <simdmath.h> |
vector unsigned long long isequald2(vector double x, vector double y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <isequald2.h> |
vector unsigned long long _isequald2(vector double x, vector double y); |
Parameters | |
x | input vector |
y | input vector |
The isequald2 function returns a vector in which each element indicates if the corresponding elements of x and y are equal. These functions correctly compare subnormal numbers.
Special Cases:
NaNs always compare as unequal.
zeros compare as equal regardless of sign.
infinities compare as equal if they have the same sign.
ULLONG_MAX | if the elements of x and y are equal. |
0 | otherwise. |
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.