isequald2

NAME

isequald2 - verify if double elements are equal

SYNOPSIS

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

DESCRIPTION

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.

RETURN VALUE

The function isequald2 returns an unsigned long long vector in which each element is defined as:
ULLONG_MAX if the elements of x and y are equal.
0 otherwise.

ENVIRONMENT

SPU only

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

SEE ALSO

isequal(3), isequalf4(3), classify(3) , fpclassifyf4(3), fpclassifyd2(3), isgreater(3) , isgreaterf4(3), isgreaterd2(3), isgreaterequal(3) , isgreaterequalf4(3), isgreaterequald2(3), isless(3), islessf4(3), islessd2(3), islessequal(3) , islessequalf4(3), islessequald2(3), islessgreater(3), islessgreaterf4(3), islessgreaterd2(3), is0denorm(3), is0denormf4(3), is0denormd2(3), isfinite(3) , isfinitef4(3), isfinited2(3), isinf(3) , isinff4(3), isinfd2(3), isnan(3), isnanf4(3), isnand2(3), isnormal(3), isnormalf4(3), isnormald2(3), isunordered(3) , isunorderedf4(3), isunorderedd2(3)