@@ -41,15 +41,15 @@ template <typename fpT> struct ExtendedRealFPLess
41
41
/* [R, nan] */
42
42
bool operator ()(const fpT v1, const fpT v2) const
43
43
{
44
- return (!sycl ::isnan (v1) && (sycl ::isnan (v2) || (v1 < v2)));
44
+ return (!std ::isnan (v1) && (std ::isnan (v2) || (v1 < v2)));
45
45
}
46
46
};
47
47
48
48
template <typename fpT> struct ExtendedRealFPGreater
49
49
{
50
50
bool operator ()(const fpT v1, const fpT v2) const
51
51
{
52
- return (!sycl ::isnan (v2) && (sycl ::isnan (v1) || (v2 < v1)));
52
+ return (!std ::isnan (v2) && (std ::isnan (v1) || (v2 < v1)));
53
53
}
54
54
};
55
55
@@ -64,14 +64,14 @@ template <typename cT> struct ExtendedComplexFPLess
64
64
const realT real1 = std::real (v1);
65
65
const realT real2 = std::real (v2);
66
66
67
- const bool r1_nan = sycl ::isnan (real1);
68
- const bool r2_nan = sycl ::isnan (real2);
67
+ const bool r1_nan = std ::isnan (real1);
68
+ const bool r2_nan = std ::isnan (real2);
69
69
70
70
const realT imag1 = std::imag (v1);
71
71
const realT imag2 = std::imag (v2);
72
72
73
- const bool i1_nan = sycl ::isnan (imag1);
74
- const bool i2_nan = sycl ::isnan (imag2);
73
+ const bool i1_nan = std ::isnan (imag1);
74
+ const bool i2_nan = std ::isnan (imag2);
75
75
76
76
const int idx1 = ((r1_nan) ? 2 : 0 ) + ((i1_nan) ? 1 : 0 );
77
77
const int idx2 = ((r2_nan) ? 2 : 0 ) + ((i2_nan) ? 1 : 0 );
0 commit comments