/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | acosh.pass.cpp | 66 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 68 assert(std::isinf(r.real())); in test_edges() 80 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 82 assert(std::isinf(r.real())); in test_edges() 89 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 91 assert(std::isinf(r.real())); in test_edges() 96 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges() 98 assert(std::isinf(r.real())); in test_edges() 105 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges() 107 assert(std::isinf(r.real())); in test_edges() [all …]
|
D | acos.pass.cpp | 53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 56 assert(std::isinf(r.imag())); in test_edges() 64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 67 assert(std::isinf(r.imag())); in test_edges() 70 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 74 assert(std::isinf(r.imag())); in test_edges() 77 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges() 80 assert(std::isinf(r.imag())); in test_edges() 83 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges() 86 assert(std::isinf(r.imag())); in test_edges() [all …]
|
D | cosh.pass.cpp | 47 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges() 57 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 67 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() 69 assert(std::isinf(r.real())); in test_edges() 74 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 76 assert(std::isinf(r.real())); in test_edges() 78 assert(std::isinf(r.imag())); in test_edges() 81 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 83 assert(std::isinf(r.real())); in test_edges() 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() [all …]
|
D | sinh.pass.cpp | 48 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges() 53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 68 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() 70 assert(std::isinf(r.real())); in test_edges() 75 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 77 assert(std::isinf(r.real())); in test_edges() 79 assert(std::isinf(r.imag())); in test_edges() 82 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 84 assert(std::isinf(r.real())); in test_edges() 87 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() [all …]
|
D | sqrt.pass.cpp | 48 else if (std::isinf(testcases[i].imag())) in test_edges() 50 assert(std::isinf(r.real())); in test_edges() 52 assert(std::isinf(r.imag())); in test_edges() 60 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 64 assert(std::isinf(r.imag())); in test_edges() 67 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 69 assert(std::isinf(r.real())); in test_edges() 74 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].ima… in test_edges() 77 assert(std::isinf(r.imag())); in test_edges() 79 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].ima… in test_edges() [all …]
|
D | exp.pass.cpp | 47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 57 … else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && testcases[i].imag() == 0) in test_edges() 59 assert(std::isinf(r.real())); in test_edges() 64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges() 69 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges() 71 assert(std::isinf(r.real())); 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() 81 assert(std::isinf(r.real())); in test_edges()
|
D | asin.pass.cpp | 47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 51 assert(std::isinf(r.imag())); in test_edges() 65 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 71 assert(std::isinf(r.imag())); in test_edges() 74 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 80 assert(std::isinf(r.imag())); in test_edges() 83 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 86 assert(std::isinf(r.imag())); in test_edges() 94 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 97 assert(std::isinf(r.imag())); in test_edges()
|
D | asinh.pass.cpp | 56 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 58 assert(std::isinf(r.real())); in test_edges() 70 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 72 assert(std::isinf(r.real())); in test_edges() 77 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 79 assert(std::isinf(r.real())); in test_edges() 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 88 assert(std::isinf(r.real())); in test_edges() 103 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 105 assert(std::isinf(r.real())); in test_edges()
|
D | log.pass.cpp | 46 assert(std::isinf(r.real())); in test_edges() 55 assert(std::isinf(r.real())); in test_edges() 61 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 63 assert(std::isinf(r.real())); in test_edges() 75 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 77 assert(std::isinf(r.real()) && r.real() > 0); in test_edges() 83 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 85 assert(std::isinf(r.real()) && r.real() > 0); in test_edges()
|
/external/llvm-project/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
D | acosh.pass.cpp | 66 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 68 assert(std::isinf(r.real())); in test_edges() 80 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 82 assert(std::isinf(r.real())); in test_edges() 89 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 91 assert(std::isinf(r.real())); in test_edges() 96 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges() 98 assert(std::isinf(r.real())); in test_edges() 105 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges() 107 assert(std::isinf(r.real())); in test_edges() [all …]
|
D | acos.pass.cpp | 53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 56 assert(std::isinf(r.imag())); in test_edges() 64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 67 assert(std::isinf(r.imag())); in test_edges() 70 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 74 assert(std::isinf(r.imag())); in test_edges() 77 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges() 80 assert(std::isinf(r.imag())); in test_edges() 83 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges() 86 assert(std::isinf(r.imag())); in test_edges() [all …]
|
D | cosh.pass.cpp | 47 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges() 57 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 67 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() 69 assert(std::isinf(r.real())); in test_edges() 74 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 76 assert(std::isinf(r.real())); in test_edges() 78 assert(std::isinf(r.imag())); in test_edges() 81 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 83 assert(std::isinf(r.real())); in test_edges() 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() [all …]
|
D | sinh.pass.cpp | 48 else if (testcases[i].real() == 0 && std::isinf(testcases[i].imag())) in test_edges() 53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 68 else if (std::isinf(testcases[i].real()) && testcases[i].imag() == 0) in test_edges() 70 assert(std::isinf(r.real())); in test_edges() 75 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 77 assert(std::isinf(r.real())); in test_edges() 79 assert(std::isinf(r.imag())); in test_edges() 82 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 84 assert(std::isinf(r.real())); in test_edges() 87 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() [all …]
|
D | sqrt.pass.cpp | 48 else if (std::isinf(testcases[i].imag())) in test_edges() 50 assert(std::isinf(r.real())); in test_edges() 52 assert(std::isinf(r.imag())); in test_edges() 60 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 64 assert(std::isinf(r.imag())); in test_edges() 67 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 69 assert(std::isinf(r.real())); in test_edges() 74 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].ima… in test_edges() 77 assert(std::isinf(r.imag())); in test_edges() 79 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].ima… in test_edges() [all …]
|
D | exp.pass.cpp | 47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 57 … else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && testcases[i].imag() == 0) in test_edges() 59 assert(std::isinf(r.real())); in test_edges() 64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].ima… in test_edges() 69 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].ima… in test_edges() 71 assert(std::isinf(r.real())); 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() 81 assert(std::isinf(r.real())); in test_edges()
|
D | asin.pass.cpp | 47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 51 assert(std::isinf(r.imag())); in test_edges() 65 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 71 assert(std::isinf(r.imag())); in test_edges() 74 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 80 assert(std::isinf(r.imag())); in test_edges() 83 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 86 assert(std::isinf(r.imag())); in test_edges() 94 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 97 assert(std::isinf(r.imag())); in test_edges()
|
D | asinh.pass.cpp | 56 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 58 assert(std::isinf(r.real())); in test_edges() 70 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges() 72 assert(std::isinf(r.real())); in test_edges() 77 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 79 assert(std::isinf(r.real())); in test_edges() 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges() 88 assert(std::isinf(r.real())); in test_edges() 103 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 105 assert(std::isinf(r.real())); in test_edges()
|
D | log.pass.cpp | 46 assert(std::isinf(r.real())); in test_edges() 55 assert(std::isinf(r.real())); in test_edges() 61 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges() 63 assert(std::isinf(r.real())); in test_edges() 75 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges() 77 assert(std::isinf(r.real()) && r.real() > 0); in test_edges() 83 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges() 85 assert(std::isinf(r.real()) && r.real() > 0); in test_edges()
|
/external/llvm-project/libclc/generic/lib/relational/ |
D | isinf.cl | 4 _CLC_DEFINE_RELATIONAL_UNARY(int, isinf, __builtin_isinf, float) 10 // The scalar version of isinf(double) returns an int, but the vector versions 12 _CLC_DEF _CLC_OVERLOAD int isinf(double x) { 16 _CLC_DEFINE_RELATIONAL_UNARY_VEC_ALL(long, isinf, double) 23 // The scalar version of isinf(half) returns an int, but the vector versions 25 _CLC_DEF _CLC_OVERLOAD int isinf(half x) { 29 _CLC_DEFINE_RELATIONAL_UNARY_VEC_ALL(short, isinf, half)
|
/external/llvm-project/clang/lib/Headers/openmp_wrappers/ |
D | complex_cmath.h | 59 if (std::isinf(__c.real())) in norm() 61 if (std::isinf(__c.imag())) in norm() 76 if (std::isinf(__c.real()) || std::isinf(__c.imag())) in proj() 88 if (std::isinf(__rho)) 92 if (std::isinf(__theta)) { 93 if (std::isinf(__rho)) 122 if (std::isinf(__x.imag())) in sqrt() 124 if (std::isinf(__x.real())) { in sqrt() 140 if (std::isinf(__x.real())) { in exp() 145 if (std::isinf(__i)) in exp() [all …]
|
/external/eigen/test/ |
D | fastmath.cpp | 25 …template<typename T> bool (isinf)(T x) { return _fpclass(x)==_FPCLASS_NINF || _fpclass(x)==_FPCLAS… 38 …<< m(3) << ") = "; check((std::isinf)(m(3)),false); std::cout << " ; numext::isinf = "; … in check_inf_nan() 47 VERIFY( !(numext::isinf)(m(3)) ); in check_inf_nan() 57 …<< m(4) << ") = "; check((std::isinf)(m(4)),true); std::cout << " ; numext::isinf = "; … in check_inf_nan() 66 VERIFY( (numext::isinf)(m(4)) ); in check_inf_nan() 75 …<< m(3) << ") = "; check((std::isinf)(m(3)),false); std::cout << " ; numext::isinf = "; … in check_inf_nan() 84 VERIFY( !(numext::isinf)(m(3)) ); in check_inf_nan()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | constant_unittest.cc | 30 EXPECT_TRUE(std::isinf(kDoubleInfinity)); in TEST() 31 EXPECT_TRUE(std::isinf(kDoubleNegativeInfinity)); in TEST() 34 EXPECT_TRUE(std::isinf(kFloatInfinity)); in TEST() 35 EXPECT_TRUE(std::isinf(kFloatNegativeInfinity)); in TEST()
|
/external/llvm-project/clang/test/Headers/Inputs/include/ |
D | complex | 150 if (std::isinf(__a) || std::isinf(__b)) { 151 __a = copysign(std::isinf(__a) ? _Tp(1) : _Tp(0), __a); 152 __b = copysign(std::isinf(__b) ? _Tp(1) : _Tp(0), __b); 159 if (std::isinf(__c) || std::isinf(__d)) { 160 __c = copysign(std::isinf(__c) ? _Tp(1) : _Tp(0), __c); 161 __d = copysign(std::isinf(__d) ? _Tp(1) : _Tp(0), __d); 168 if (!__recalc && (std::isinf(__ac) || std::isinf(__bd) || 169 std::isinf(__ad) || std::isinf(__bc))) { 225 } else if ((std::isinf(__a) || std::isinf(__b)) && std::isfinite(__c) && std::isfinite(__d)) { 226 __a = copysign(std::isinf(__a) ? _Tp(1) : _Tp(0), __a); [all …]
|
/external/libxml2/win32/VC10/ |
D | config.h | 46 #ifndef isinf 47 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro 55 #ifndef isinf 56 static int isinf (double d) { in isinf() function
|
/external/libxml2/include/ |
D | win32config.h | 47 #ifndef isinf 48 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro 56 #ifndef isinf 57 static int isinf (double d) { in isinf() function
|