mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 16:29:03 +00:00
Test bruteforce - fix islessgreater function for intel compiler (#811)
This commit is contained in:
committed by
GitHub
parent
f7e6e1d17f
commit
519f658b51
@@ -2918,7 +2918,17 @@ int reference_isgreaterequall( long double x, long double y){ return x >= y; }
|
|||||||
int reference_isinfl( long double x){ return 0 != isinf(x); }
|
int reference_isinfl( long double x){ return 0 != isinf(x); }
|
||||||
int reference_islessl( long double x, long double y){ return x < y; }
|
int reference_islessl( long double x, long double y){ return x < y; }
|
||||||
int reference_islessequall( long double x, long double y){ return x <= y; }
|
int reference_islessequall( long double x, long double y){ return x <= y; }
|
||||||
int reference_islessgreaterl( long double x, long double y){ return 0 != islessgreater( x, y ); }
|
#if defined(__INTEL_COMPILER)
|
||||||
|
int reference_islessgreaterl(long double x, long double y)
|
||||||
|
{
|
||||||
|
return 0 != islessgreaterl(x, y);
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
int reference_islessgreaterl(long double x, long double y)
|
||||||
|
{
|
||||||
|
return 0 != islessgreater(x, y);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
int reference_isnanl( long double x){ return 0 != isnan( x ); }
|
int reference_isnanl( long double x){ return 0 != isnan( x ); }
|
||||||
int reference_isnormall( long double x){ return 0 != isnormal( (double) x ); }
|
int reference_isnormall( long double x){ return 0 != isnormal( (double) x ); }
|
||||||
int reference_isnotequall( long double x, long double y){ return x != y; }
|
int reference_isnotequall( long double x, long double y){ return x != y; }
|
||||||
|
|||||||
Reference in New Issue
Block a user