Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 25 of 202) sorted by relevance

123456789

/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dcosh.pass.cpp51 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 …]
Dsinh.pass.cpp53 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 …]
Dexp.pass.cpp49 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 …]
Dtanh.pass.cpp52 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 …]
Dasinh.pass.cpp57 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 …]
Dasin.pass.cpp55 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 …]
Datanh.pass.cpp48 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 …]
Dacos.pass.cpp49 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 …]
Dacosh.pass.cpp67 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 …]
Dsqrt.pass.cpp55 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()
Dlog10.pass.cpp43 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()
Dpow_complex_scalar.pass.cpp47 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()
Dpow_scalar_complex.pass.cpp47 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()
Dcos.pass.cpp45 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/
Dcmath_isnan.pass.cpp22 #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/
Disnanf.m420 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 …]
Disnand.m420 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/
Dsimulator-mips.cc1309 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/
Dmath_utils_test.py15 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/
Dsimulator-mips64.cc1330 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/
Dquiet_NaN.pass.cpp23 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()
Dsignaling_NaN.pass.cpp23 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/
DfindRegressions-simple.py106 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/
Dwin32config.h58 #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/
Dconfig.h57 #ifndef isnan
58 #define isnan(d) (_isnan(d)) macro
78 #ifndef isnan
79 static int isnan (double d) { in isnan() function

123456789