/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | cosh.pass.cpp | 51 assert(std::isnan(r.real())); in test_edges() 54 else if (x[i].real() == 0 && std::isnan(x[i].imag())) in test_edges() 56 assert(std::isnan(r.real())); in test_edges() 61 assert(std::isnan(r.real())); in test_edges() 62 assert(std::isnan(r.imag())); in test_edges() 64 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 66 assert(std::isnan(r.real())); in test_edges() 67 assert(std::isnan(r.imag())); in test_edges() 86 assert(std::isnan(r.imag())); in test_edges() 88 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() [all …]
|
D | sinh.pass.cpp | 53 assert(std::isnan(r.imag())); in test_edges() 57 assert(std::isnan(r.real())); in test_edges() 58 assert(std::isnan(r.imag())); in test_edges() 60 else if (x[i].real() == 0 && std::isnan(x[i].imag())) in test_edges() 63 assert(std::isnan(r.imag())); in test_edges() 65 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 67 assert(std::isnan(r.real())); in test_edges() 68 assert(std::isnan(r.imag())); in test_edges() 87 assert(std::isnan(r.imag())); in test_edges() 89 else if (std::isinf(x[i].real()) && std::isnan(x[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(x[i].real()) && std::isnan(x[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(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) in test_edges() 79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) in test_edges() 82 assert(std::isnan(r.imag())); in test_edges() 84 else if (std::isnan(x[i].real()) && x[i].imag() == 0) in test_edges() [all …]
|
D | tanh.pass.cpp | 52 assert(std::isnan(r.real())); in test_edges() 53 assert(std::isnan(r.imag())); in test_edges() 55 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 57 assert(std::isnan(r.real())); in test_edges() 58 assert(std::isnan(r.imag())); in test_edges() 71 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 76 else if (std::isnan(x[i].real()) && x[i].imag() == 0) in test_edges() 78 assert(std::isnan(r.real())); in test_edges() 82 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 84 assert(std::isnan(r.real())); in test_edges() [all …]
|
D | asinh.pass.cpp | 57 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 59 assert(std::isnan(r.real())); in test_edges() 60 assert(std::isnan(r.imag())); in test_edges() 78 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 82 assert(std::isnan(r.imag())); in test_edges() 84 else if (std::isnan(x[i].real()) && x[i].imag() == 0) in test_edges() 86 assert(std::isnan(r.real())); in test_edges() 90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 92 assert(std::isnan(r.real())); in test_edges() 93 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | asin.pass.cpp | 55 else if ( x[i].real() == 0 && std::isnan(x[i].imag())) in test_edges() 59 assert(std::isnan(r.imag())); in test_edges() 61 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 63 assert(std::isnan(r.real())); in test_edges() 64 assert(std::isnan(r.imag())); in test_edges() 84 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 86 assert(std::isnan(r.real())); in test_edges() 90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 92 assert(std::isnan(r.real())); in test_edges() 93 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | atanh.pass.cpp | 48 else if ( x[i].real() == 0 && std::isnan(x[i].imag())) in test_edges() 52 assert(std::isnan(r.imag())); in test_edges() 70 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 72 assert(std::isnan(r.real())); in test_edges() 73 assert(std::isnan(r.imag())); in test_edges() 93 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 97 assert(std::isnan(r.imag())); in test_edges() 99 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 101 assert(std::isnan(r.real())); in test_edges() 102 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | acos.pass.cpp | 49 else if (x[i].real() == 0 && std::isnan(x[i].imag())) in test_edges() 52 assert(std::isnan(r.imag())); in test_edges() 60 else if (std::isfinite(x[i].real()) && x[i].real() != 0 && std::isnan(x[i].imag())) in test_edges() 62 assert(std::isnan(r.real())); in test_edges() 63 assert(std::isnan(r.imag())); in test_edges() 90 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 92 assert(std::isnan(r.real())); in test_edges() 95 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 97 assert(std::isnan(r.real())); in test_edges() 98 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | acosh.pass.cpp | 67 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 69 assert(std::isnan(r.real())); in test_edges() 70 assert(std::isnan(r.imag())); in test_edges() 106 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 110 assert(std::isnan(r.imag())); in test_edges() 112 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 114 assert(std::isnan(r.real())); in test_edges() 115 assert(std::isnan(r.imag())); in test_edges() 117 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 121 assert(std::isnan(r.imag())); in test_edges() [all …]
|
D | sqrt.pass.cpp | 55 else if (std::isfinite(x[i].real()) && std::isnan(x[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(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) in test_edges() 76 assert(std::isnan(r.real())); in test_edges() 79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) in test_edges() 83 assert(std::isnan(r.imag())); in test_edges() 85 else if (std::isnan(x[i].real()) && (std::isfinite(x[i].imag()) || std::isnan(x[i].imag()))) in test_edges() 87 assert(std::isnan(r.real())); in test_edges() 88 assert(std::isnan(r.imag())); in test_edges()
|
D | log10.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()
|
D | pow_complex_scalar.pass.cpp | 47 if (std::isnan(real(r))) in test_edges() 48 assert(std::isnan(real(z))); in test_edges() 53 if (std::isnan(imag(r))) in test_edges() 54 assert(std::isnan(imag(z))); in test_edges()
|
D | pow_scalar_complex.pass.cpp | 47 if (std::isnan(real(r))) in test_edges() 48 assert(std::isnan(real(z))); in test_edges() 53 if (std::isnan(imag(r))) in test_edges() 54 assert(std::isnan(imag(z))); in test_edges()
|
D | cos.pass.cpp | 45 if (std::isnan(real(r))) in test_edges() 46 assert(std::isnan(real(z))); in test_edges() 52 if (std::isnan(imag(r))) in test_edges() 53 assert(std::isnan(imag(z))); in test_edges()
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath_isnan.pass.cpp | 22 #ifdef isnan in main() 23 #error isnan defined in main() 25 static_assert((std::is_same<decltype(std::isnan((float)0)), bool>::value), ""); in main() 26 static_assert((std::is_same<decltype(std::isnan((double)0)), bool>::value), ""); in main() 27 static_assert((std::is_same<decltype(std::isnan(0)), bool>::value), ""); in main() 28 static_assert((std::is_same<decltype(std::isnan((long double)0)), bool>::value), ""); in main() 29 assert(std::isnan(-1.0) == false); in main()
|
/external/bison/m4/ |
D | isnanf.m4 | 20 dnl The variable gl_func_isnanf set here is used by isnan.m4. 56 [Define if the isnan(float) function is available in libc.]) 71 AC_CACHE_CHECK([whether isnan(float) can be used without linking with libm], 80 #elif defined isnan 82 # define isnanf(x) isnan ((float)(x)) 94 AC_CACHE_CHECK([whether isnan(float) can be used with libm], 105 #elif defined isnan 107 # define isnanf(x) isnan ((float)(x)) 125 AC_CACHE_CHECK([whether isnan(float) works], [gl_cv_func_isnanf_works], 133 #elif defined isnan [all …]
|
D | isnand.m4 | 20 dnl The variable gl_func_isnand set here is used by isnan.m4. 39 [Define if the isnan(double) function is available in libc.]) 53 AC_CACHE_CHECK([whether isnan(double) can be used with libm], 64 #elif defined isnan 66 # define isnand(x) isnan ((double)(x)) 78 AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm], 89 # define isnand(x) isnan ((double)(x))
|
/external/v8/src/mips/ |
D | simulator-mips.cc | 1309 if (std::isnan(original)) { in set_fpu_register_word_invalid_result() 1328 if (std::isnan(original)) { in set_fpu_register_invalid_result() 1350 if (std::isnan(original)) { in set_fpu_register_invalid_result64() 1370 if (std::isnan(original)) { in set_fpu_register_word_invalid_result() 1390 if (std::isnan(original)) { in set_fpu_register_invalid_result() 1412 if (std::isnan(original)) { in set_fpu_register_invalid_result64() 2419 if (std::isnan(fs) && std::isnan(ft)) { in DecodeTypeRegisterDRsType() 2421 } else if (std::isnan(fs) && !std::isnan(ft)) { in DecodeTypeRegisterDRsType() 2423 } else if (!std::isnan(fs) && std::isnan(ft)) { in DecodeTypeRegisterDRsType() 2432 if (std::isnan(fs) && std::isnan(ft)) { in DecodeTypeRegisterDRsType() [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | math_utils_test.py | 15 self.assertTrue(math.isnan(math_utils.Mean([]))) 30 self.assertTrue(math.isnan(math_utils.Median([]))) 42 self.assertTrue(math.isnan(math_utils.Variance([]))) 53 self.assertTrue(math.isnan(math_utils.StandardDeviation([]))) 63 self.assertTrue(math.isnan(math_utils.Divide(1, 0)))
|
/external/v8/src/mips64/ |
D | simulator-mips64.cc | 1330 if (std::isnan(original)) { in set_fpu_register_word_invalid_result() 1349 if (std::isnan(original)) { in set_fpu_register_invalid_result() 1371 if (std::isnan(original)) { in set_fpu_register_invalid_result64() 1391 if (std::isnan(original)) { in set_fpu_register_word_invalid_result() 1411 if (std::isnan(original)) { in set_fpu_register_invalid_result() 1433 if (std::isnan(original)) { in set_fpu_register_invalid_result64() 2411 set_fcsr_bit(fcsr_cc, std::isnan(fs) || std::isnan(ft)); in DecodeTypeRegisterSRsType() 2417 set_fcsr_bit(fcsr_cc, (fs == ft) || (std::isnan(fs) || std::isnan(ft))); in DecodeTypeRegisterSRsType() 2423 set_fcsr_bit(fcsr_cc, (fs < ft) || (std::isnan(fs) || std::isnan(ft))); in DecodeTypeRegisterSRsType() 2429 set_fcsr_bit(fcsr_cc, (fs <= ft) || (std::isnan(fs) || std::isnan(ft))); in DecodeTypeRegisterSRsType() [all …]
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
D | quiet_NaN.pass.cpp | 23 assert(std::isnan(std::numeric_limits<T>::quiet_NaN())); in test_imp() 24 assert(std::isnan(std::numeric_limits<const T>::quiet_NaN())); in test_imp() 25 assert(std::isnan(std::numeric_limits<volatile T>::quiet_NaN())); in test_imp() 26 assert(std::isnan(std::numeric_limits<const volatile T>::quiet_NaN())); in test_imp()
|
D | signaling_NaN.pass.cpp | 23 assert(std::isnan(std::numeric_limits<T>::signaling_NaN())); in test_imp() 24 assert(std::isnan(std::numeric_limits<const T>::signaling_NaN())); in test_imp() 25 assert(std::isnan(std::numeric_limits<volatile T>::signaling_NaN())); in test_imp() 26 assert(std::isnan(std::numeric_limits<const volatile T>::signaling_NaN())); in test_imp()
|
/external/llvm/utils/release/ |
D | findRegressions-simple.py | 106 if math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]): 109 elif math.isnan(d_old[t][x]) and not math.isnan(d_new[t][x]): 112 elif not math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
|
/external/libxml2/include/ |
D | win32config.h | 58 #ifndef isnan 59 #define isnan(d) (_isnan(d)) macro 79 #ifndef isnan 80 static int isnan (double d) { in isnan() function
|
/external/libxml2/win32/VC10/ |
D | config.h | 57 #ifndef isnan 58 #define isnan(d) (_isnan(d)) macro 78 #ifndef isnan 79 static int isnan (double d) { in isnan() function
|