/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | cosh.pass.cpp | 49 assert(std::isnan(r.real())); in test_edges() 52 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges() 54 assert(std::isnan(r.real())); in test_edges() 59 assert(std::isnan(r.real())); in test_edges() 60 assert(std::isnan(r.imag())); in test_edges() 62 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 64 assert(std::isnan(r.real())); in test_edges() 65 assert(std::isnan(r.imag())); in test_edges() 84 assert(std::isnan(r.imag())); in test_edges() 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() [all …]
|
D | sinh.pass.cpp | 51 assert(std::isnan(r.imag())); in test_edges() 55 assert(std::isnan(r.real())); in test_edges() 56 assert(std::isnan(r.imag())); in test_edges() 58 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges() 61 assert(std::isnan(r.imag())); in test_edges() 63 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 65 assert(std::isnan(r.real())); in test_edges() 66 assert(std::isnan(r.imag())); in test_edges() 85 assert(std::isnan(r.imag())); in test_edges() 87 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() [all …]
|
D | exp.pass.cpp | 49 assert(std::isnan(r.real())); in test_edges() 50 assert(std::isnan(r.imag())); in test_edges() 52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 54 assert(std::isnan(r.real())); in test_edges() 55 assert(std::isnan(r.imag())); in test_edges() 72 assert(std::isnan(r.imag())); in test_edges() 74 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].ima… in test_edges() 79 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].ima… in test_edges() 82 assert(std::isnan(r.imag())); in test_edges() 84 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() [all …]
|
D | tanh.pass.cpp | 50 assert(std::isnan(r.real())); in test_edges() 51 assert(std::isnan(r.imag())); in test_edges() 53 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 55 assert(std::isnan(r.real())); in test_edges() 56 assert(std::isnan(r.imag())); in test_edges() 69 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 74 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() 76 assert(std::isnan(r.real())); in test_edges() 80 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 82 assert(std::isnan(r.real())); in test_edges() [all …]
|
D | asin.pass.cpp | 54 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges() 58 assert(std::isnan(r.imag())); in test_edges() 60 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 62 assert(std::isnan(r.real())); in test_edges() 63 assert(std::isnan(r.imag())); in test_edges() 83 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 85 assert(std::isnan(r.real())); in test_edges() 89 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 91 assert(std::isnan(r.real())); in test_edges() 92 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | asinh.pass.cpp | 65 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 67 assert(std::isnan(r.real())); in test_edges() 68 assert(std::isnan(r.imag())); in test_edges() 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 90 assert(std::isnan(r.imag())); in test_edges() 92 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() 94 assert(std::isnan(r.real())); in test_edges() 98 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 100 assert(std::isnan(r.real())); in test_edges() 101 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | atanh.pass.cpp | 47 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges() 51 assert(std::isnan(r.imag())); in test_edges() 69 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 71 assert(std::isnan(r.real())); in test_edges() 72 assert(std::isnan(r.imag())); in test_edges() 92 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 96 assert(std::isnan(r.imag())); in test_edges() 98 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 100 assert(std::isnan(r.real())); in test_edges() 101 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | acos.pass.cpp | 48 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges() 51 assert(std::isnan(r.imag())); in test_edges() 59 …else if (std::isfinite(testcases[i].real()) && testcases[i].real() != 0 && std::isnan(testcases[i]… in test_edges() 61 assert(std::isnan(r.real())); in test_edges() 62 assert(std::isnan(r.imag())); in test_edges() 89 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 91 assert(std::isnan(r.real())); in test_edges() 94 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 96 assert(std::isnan(r.real())); in test_edges() 97 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | acosh.pass.cpp | 75 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 77 assert(std::isnan(r.real())); in test_edges() 78 assert(std::isnan(r.imag())); in test_edges() 114 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 118 assert(std::isnan(r.imag())); in test_edges() 120 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 122 assert(std::isnan(r.real())); in test_edges() 123 assert(std::isnan(r.imag())); in test_edges() 125 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 129 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | sqrt.pass.cpp | 55 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 57 assert(std::isnan(r.real())); in test_edges() 58 assert(std::isnan(r.imag())); in test_edges() 74 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].ima… in test_edges() 76 assert(std::isnan(r.real())); in test_edges() 79 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].ima… in test_edges() 83 assert(std::isnan(r.imag())); in test_edges() 85 …else if (std::isnan(testcases[i].real()) && (std::isfinite(testcases[i].imag()) || std::isnan(test… in test_edges() 87 assert(std::isnan(r.real())); in test_edges() 88 assert(std::isnan(r.imag())); in test_edges()
|
D | cos.pass.cpp | 43 if (std::isnan(real(r))) in test_edges() 44 assert(std::isnan(real(z))); in test_edges() 50 if (std::isnan(imag(r))) in test_edges() 51 assert(std::isnan(imag(z))); in test_edges()
|
/external/python/cpython2/Lib/test/decimaltestdata/ |
D | extra.decTest | 879 bool0630 isnan 0E-2000 -> 0 880 bool0631 isnan -0E-2000 -> 0 881 bool0632 isnan 0E-1008 -> 0 882 bool0633 isnan -0E-1008 -> 0 883 bool0634 isnan 0E-1007 -> 0 884 bool0635 isnan -0E-1007 -> 0 885 bool0636 isnan 0E-1006 -> 0 886 bool0637 isnan -0E-1006 -> 0 887 bool0638 isnan 0E-1000 -> 0 888 bool0639 isnan -0E-1000 -> 0 [all …]
|
/external/python/cpython3/Lib/test/decimaltestdata/ |
D | extra.decTest | 879 bool0630 isnan 0E-2000 -> 0 880 bool0631 isnan -0E-2000 -> 0 881 bool0632 isnan 0E-1008 -> 0 882 bool0633 isnan -0E-1008 -> 0 883 bool0634 isnan 0E-1007 -> 0 884 bool0635 isnan -0E-1007 -> 0 885 bool0636 isnan 0E-1006 -> 0 886 bool0637 isnan -0E-1006 -> 0 887 bool0638 isnan 0E-1000 -> 0 888 bool0639 isnan -0E-1000 -> 0 [all …]
|
/external/catch2/include/internal/ |
D | catch_polyfills.cpp | 15 bool isnan(float f) { in isnan() function 16 return std::isnan(f); in isnan() 18 bool isnan(double d) { in isnan() function 19 return std::isnan(d); in isnan() 23 bool isnan(float f) { 26 bool isnan(double d) {
|
/external/pdfium/core/fxcrt/ |
D | fx_extension.h | 117 return (std::isnan(lhs) && std::isnan(rhs)) || in FXSYS_SafeEQ() 118 (!std::isnan(lhs) && !std::isnan(rhs) && lhs == rhs); in FXSYS_SafeEQ() 123 if (std::isnan(lhs) && std::isnan(rhs)) in FXSYS_SafeLT() 125 if (std::isnan(lhs) || std::isnan(rhs)) in FXSYS_SafeLT() 126 return std::isnan(lhs) < std::isnan(rhs); in FXSYS_SafeLT()
|
/external/python/cpython2/Lib/test/ |
D | test_math.py | 153 self.assertTrue(math.isnan(math.acos(NAN))) 163 self.assertTrue(math.isnan(math.acosh(NAN))) 172 self.assertTrue(math.isnan(math.asin(NAN))) 181 self.assertTrue(math.isnan(math.asinh(NAN))) 190 self.assertTrue(math.isnan(math.atan(NAN))) 201 self.assertTrue(math.isnan(math.atanh(NAN))) 218 self.assertTrue(math.isnan(math.atan2(0., NAN))) 226 self.assertTrue(math.isnan(math.atan2(-0., NAN))) 234 self.assertTrue(math.isnan(math.atan2(INF, NAN))) 242 self.assertTrue(math.isnan(math.atan2(NINF, NAN))) [all …]
|
D | test_cmath.py | 76 if math.isnan(a): 77 if math.isnan(b): 436 self.assertTrue(math.isnan(phase(z))) 449 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 450 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 451 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) 452 self.assertTrue(math.isnan(abs(complex(NAN, 2.3)))) 455 self.assertTrue(math.isnan(abs(complex(-2.3, NAN)))) 456 self.assertTrue(math.isnan(abs(complex(-0.0, NAN)))) 457 self.assertTrue(math.isnan(abs(complex(0.0, NAN)))) [all …]
|
/external/eigen/test/ |
D | fastmath.cpp | 24 template<typename T> bool (isnan)(T x) { return _isnan(x); } 39 …<< m(3) << ") = "; check((std::isnan)(m(3)),true); std::cout << " ; numext::isnan = "; … in check_inf_nan() 48 VERIFY( (numext::isnan)(m(3)) ); in check_inf_nan() 58 …<< m(4) << ") = "; check((std::isnan)(m(4)),false); std::cout << " ; numext::isnan = "; … in check_inf_nan() 67 VERIFY( !(numext::isnan)(m(4)) ); in check_inf_nan() 76 …<< m(3) << ") = "; check((std::isnan)(m(3)),false); std::cout << " ; numext::isnan = ";… in check_inf_nan() 85 VERIFY( !(numext::isnan)(m(3)) ); in check_inf_nan()
|
D | stable_norm.cpp | 43 if(NumTraits<Scalar>::IsComplex && (numext::isnan)(inf*RealScalar(1)) ) in stable_norm() 118 VERIFY(!(numext::isfinite)(v.squaredNorm())); VERIFY((numext::isnan)(v.squaredNorm())); in stable_norm() 119 VERIFY(!(numext::isfinite)(v.norm())); VERIFY((numext::isnan)(v.norm())); in stable_norm() 120 VERIFY(!(numext::isfinite)(v.stableNorm())); VERIFY((numext::isnan)(v.stableNorm())); in stable_norm() 121 VERIFY(!(numext::isfinite)(v.blueNorm())); VERIFY((numext::isnan)(v.blueNorm())); in stable_norm() 122 VERIFY(!(numext::isfinite)(v.hypotNorm())); VERIFY((numext::isnan)(v.hypotNorm())); in stable_norm() 160 VERIFY(!(numext::isfinite)(v.squaredNorm())); VERIFY((numext::isnan)(v.squaredNorm())); in stable_norm() 161 VERIFY(!(numext::isfinite)(v.norm())); VERIFY((numext::isnan)(v.norm())); in stable_norm() 162 VERIFY(!(numext::isfinite)(v.stableNorm())); VERIFY((numext::isnan)(v.stableNorm())); in stable_norm() 163 VERIFY(!(numext::isfinite)(v.blueNorm())); VERIFY((numext::isnan)(v.blueNorm())); in stable_norm() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_cmath.py | 78 if math.isnan(x) or math.isnan(y): 79 if math.isnan(x) and math.isnan(y): 113 if math.isnan(a): 114 if math.isnan(b): 165 self.assertTrue(math.isnan(cmath.nan.real)) 168 self.assertTrue(math.isnan(cmath.nanj.imag)) 503 self.assertTrue(math.isnan(phase(z))) 516 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 517 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 518 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) [all …]
|
D | test_math.py | 65 if math.isnan(x) or math.isinf(x): 224 if math.isnan(expected) and math.isnan(got): 284 self.assertTrue(math.isnan(math.acos(NAN))) 294 self.assertTrue(math.isnan(math.acosh(NAN))) 305 self.assertTrue(math.isnan(math.asin(NAN))) 314 self.assertTrue(math.isnan(math.asinh(NAN))) 323 self.assertTrue(math.isnan(math.atan(NAN))) 334 self.assertTrue(math.isnan(math.atanh(NAN))) 351 self.assertTrue(math.isnan(math.atan2(0., NAN))) 359 self.assertTrue(math.isnan(math.atan2(-0., NAN))) [all …]
|
/external/OpenCL-CTS/test_conformance/relationals/ |
D | test_comparisons_double.cpp | 270 if( isnan( valueA ) || isnan( valueB ) ) in isequal_verify_fn_double() 283 if( isnan( valueA ) || isnan( valueB ) ) in isnotequal_verify_fn_double() 296 if( isnan( valueA ) || isnan( valueB ) ) in isgreater_verify_fn_double() 309 if( isnan( valueA ) || isnan( valueB ) ) in isgreaterequal_verify_fn_double() 322 if( isnan( valueA ) || isnan( valueB ) ) in isless_verify_fn_double() 335 if( isnan( valueA ) || isnan( valueB ) ) in islessequal_verify_fn_double() 348 if( isnan( valueA ) || isnan( valueB ) ) in islessgreater_verify_fn_double()
|
/external/libcxx/test/libcxx/numerics/complex.number/ |
D | __sqr.pass.cpp | 56 assert(std::isnan(nan1.real())); in test() 57 assert(std::isnan(nan1.imag())); in test() 60 assert(std::isnan(nan2.real())); in test() 61 assert(std::isnan(nan2.imag())); in test() 64 assert(std::isnan(nan3.real())); in test() 65 assert(std::isnan(nan3.imag())); in test()
|
/external/v8/src/utils/ |
D | boxed-float.h | 28 DCHECK(!std::isnan(value)); in Float32() 38 return std::isnan(get_scalar()); in is_nan() 68 DCHECK(!std::isnan(value)); in Float64() 77 return std::isnan(get_scalar()); in is_nan()
|
/external/libxml2/include/ |
D | win32config.h | 52 #ifndef isnan 53 #define isnan(d) (_isnan(d)) macro 73 #ifndef isnan 74 static int isnan (double d) { in isnan() function
|