@@ -41,15 +41,15 @@ template <typename fpT> struct ExtendedRealFPLess
4141 /* [R, nan] */
4242 bool operator ()(const fpT v1, const fpT v2) const
4343 {
44- return (!sycl ::isnan (v1) && (sycl ::isnan (v2) || (v1 < v2)));
44+ return (!std ::isnan (v1) && (std ::isnan (v2) || (v1 < v2)));
4545 }
4646};
4747
4848template <typename fpT> struct ExtendedRealFPGreater
4949{
5050 bool operator ()(const fpT v1, const fpT v2) const
5151 {
52- return (!sycl ::isnan (v2) && (sycl ::isnan (v1) || (v2 < v1)));
52+ return (!std ::isnan (v2) && (std ::isnan (v1) || (v2 < v1)));
5353 }
5454};
5555
@@ -64,14 +64,14 @@ template <typename cT> struct ExtendedComplexFPLess
6464 const realT real1 = std::real (v1);
6565 const realT real2 = std::real (v2);
6666
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);
6969
7070 const realT imag1 = std::imag (v1);
7171 const realT imag2 = std::imag (v2);
7272
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);
7575
7676 const int idx1 = ((r1_nan) ? 2 : 0 ) + ((i1_nan) ? 1 : 0 );
7777 const int idx2 = ((r2_nan) ? 2 : 0 ) + ((i2_nan) ? 1 : 0 );
0 commit comments