/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
D | acosh.pass.cpp | 58 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 60 assert(std::isinf(r.real())); in test_edges() 72 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges() 74 assert(std::isinf(r.real())); in test_edges() 81 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges() 83 assert(std::isinf(r.real())); in test_edges() 88 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) in test_edges() 90 assert(std::isinf(r.real())); in test_edges() 97 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag())) in test_edges() 99 assert(std::isinf(r.real())); in test_edges() [all …]
|
D | acos.pass.cpp | 54 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 57 assert(std::isinf(r.imag())); in test_edges() 65 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges() 68 assert(std::isinf(r.imag())); in test_edges() 71 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges() 75 assert(std::isinf(r.imag())); in test_edges() 78 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) in test_edges() 81 assert(std::isinf(r.imag())); in test_edges() 84 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag())) in test_edges() 87 assert(std::isinf(r.imag())); in test_edges() [all …]
|
D | cosh.pass.cpp | 49 else if (x[i].real() == 0 && std::isinf(x[i].imag())) in test_edges() 59 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 69 else if (std::isinf(x[i].real()) && x[i].imag() == 0) in test_edges() 71 assert(std::isinf(r.real())); in test_edges() 76 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 78 assert(std::isinf(r.real())); in test_edges() 80 assert(std::isinf(r.imag())); in test_edges() 83 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 85 assert(std::isinf(r.real())); in test_edges() 88 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() [all …]
|
D | sinh.pass.cpp | 50 else if (x[i].real() == 0 && std::isinf(x[i].imag())) in test_edges() 55 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 70 else if (std::isinf(x[i].real()) && x[i].imag() == 0) in test_edges() 72 assert(std::isinf(r.real())); in test_edges() 77 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 79 assert(std::isinf(r.real())); in test_edges() 81 assert(std::isinf(r.imag())); in test_edges() 84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 86 assert(std::isinf(r.real())); in test_edges() 89 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() [all …]
|
D | exp.pass.cpp | 47 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 57 else if (std::isinf(x[i].real()) && x[i].real() > 0 && x[i].imag() == 0) in test_edges() 59 assert(std::isinf(r.real())); in test_edges() 64 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) in test_edges() 69 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag())) in test_edges() 71 assert(std::isinf(r.real())); 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() 81 assert(std::isinf(r.real())); in test_edges()
|
D | sqrt.pass.cpp | 48 else if (std::isinf(x[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(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges() 64 assert(std::isinf(r.imag())); in test_edges() 67 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges() 69 assert(std::isinf(r.real())); in test_edges() 74 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) in test_edges() 77 assert(std::isinf(r.imag())); in test_edges() 79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) in test_edges() [all …]
|
D | asin.pass.cpp | 48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 52 assert(std::isinf(r.imag())); in test_edges() 66 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 72 assert(std::isinf(r.imag())); in test_edges() 75 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 81 assert(std::isinf(r.imag())); in test_edges() 84 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 87 assert(std::isinf(r.imag())); in test_edges() 96 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 99 assert(std::isinf(r.imag())); in test_edges()
|
D | asinh.pass.cpp | 48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 50 assert(std::isinf(r.real())); in test_edges() 62 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 64 assert(std::isinf(r.real())); in test_edges() 69 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 71 assert(std::isinf(r.real())); in test_edges() 78 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 80 assert(std::isinf(r.real())); in test_edges() 95 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 97 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(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 63 assert(std::isinf(r.real())); in test_edges() 75 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges() 77 assert(std::isinf(r.real()) && r.real() > 0); in test_edges() 83 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges() 85 assert(std::isinf(r.real()) && r.real() > 0); in test_edges()
|
D | tanh.pass.cpp | 50 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 60 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 66 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 71 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
|
D | atanh.pass.cpp | 56 assert(std::isinf(r.real())); in test_edges() 61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 75 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges() 84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 93 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges() 104 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | complex | 602 if (isinf(__a) || isinf(__b)) 604 __a = copysign(isinf(__a) ? _Tp(1) : _Tp(0), __a); 605 __b = copysign(isinf(__b) ? _Tp(1) : _Tp(0), __b); 612 if (isinf(__c) || isinf(__d)) 614 __c = copysign(isinf(__c) ? _Tp(1) : _Tp(0), __c); 615 __d = copysign(isinf(__d) ? _Tp(1) : _Tp(0), __d); 622 if (!__recalc && (isinf(__ac) || isinf(__bd) || 623 isinf(__ad) || isinf(__bc))) 690 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) 692 __a = copysign(isinf(__a) ? _Tp(1) : _Tp(0), __a); [all …]
|
D | cmath | 145 bool isinf(arithmetic x); 384 // isinf 386 #ifdef isinf 393 return isinf(__x); 396 #undef isinf 401 isinf(_A1 __x) _NOEXCEPT 406 #endif // isinf 641 using ::isinf;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/ |
D | arg.pass.cpp | 84 if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges() 101 else if (std::isinf(x[i].real())) in test_edges()
|
D | abs.pass.cpp | 45 assert(std::isinf(r) && r > 0); in test_edges()
|
D | norm.pass.cpp | 45 assert(std::isinf(r) && r > 0); in test_edges()
|
D | proj.pass.cpp | 53 assert(std::isinf(real(r)) && real(r) > 0); in test_edges()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/ |
D | cases.h | 183 if (std::isinf(x.real()) || std::isinf(x.imag())) in classify() 208 if (std::isinf(x)) in classify()
|
/ndk/sources/cxx-stl/llvm-libc++/patches.android/ |
D | 0011-Fix-tests-for-Android.patch | 102 static_assert((std::is_same<decltype(isinf((float)0)), bool>::value), ""); 104 + // 64-bit bionic isinf(double) returns int. 105 static_assert((std::is_same<decltype(isinf((double)0)), bool>::value), ""); 107 static_assert((std::is_same<decltype(isinf((long double)0)), bool>::value), ""); 108 assert(isinf(-1.0) == false); 347 #error isinf defined 349 static_assert((std::is_same<decltype(std::isinf((float)0)), bool>::value), ""); 352 static_assert((std::is_same<decltype(std::isinf((double)0)), bool>::value), ""); 354 static_assert((std::is_same<decltype(std::isinf(0)), bool>::value), ""); 355 static_assert((std::is_same<decltype(std::isinf((long double)0)), bool>::value), ""); [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/ |
D | math_win32.h | 29 _LIBCPP_ALWAYS_INLINE bool isinf( double num ) in isinf() function
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _cmath.h | 537 template<typename _Tp> inline int __capture_isinf(_Tp __f) { return isinf(__f); } 542 #undef isinf 547 template<typename _Tp> inline int isinf(_Tp __f) { return __capture_isinf(__f); } in isinf() function 578 using __captured::isinf;
|
/ndk/sources/cxx-stl/stlport/src/ |
D | num_put_float.cpp | 137 static inline bool _Stl_is_inf(double x) { return isinf(x); } in _Stl_is_inf() 139 static inline bool _Stl_is_neg_inf(double x) { return isinf(x) && x < 0; } in _Stl_is_neg_inf() 195 static inline bool _Stl_is_nan_or_inf(double x) { return isnan(x) || isinf(x); } in _Stl_is_nan_or_inf() 196 static inline bool _Stl_is_inf(double x) { return isinf(x); } in _Stl_is_inf() 197 static inline bool _Stl_is_neg_inf(double x) { return isinf(x) && signbit(x); } in _Stl_is_neg_inf()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/ |
D | fpclassify.hpp | 388 return (std::isinf)(x); in isinf_impl() 449 inline bool (isinf)(T x)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
D | math_h.pass.cpp | 223 static_assert((std::is_same<decltype(isinf((float)0)), bool>::value), ""); in test_isinf() 226 static_assert((std::is_same<decltype(isinf((double)0)), bool>::value), ""); in test_isinf() 228 static_assert((std::is_same<decltype(isinf((long double)0)), bool>::value), ""); in test_isinf() 229 assert(isinf(-1.0) == false); in test_isinf()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/c.math/ |
D | cmath.pass.cpp | 480 #ifdef isinf in test_isinf() 481 #error isinf defined in test_isinf() 483 static_assert((std::is_same<decltype(std::isinf((float)0)), bool>::value), ""); in test_isinf() 486 static_assert((std::is_same<decltype(std::isinf((double)0)), bool>::value), ""); in test_isinf() 488 static_assert((std::is_same<decltype(std::isinf(0)), bool>::value), ""); in test_isinf() 489 static_assert((std::is_same<decltype(std::isinf((long double)0)), bool>::value), ""); in test_isinf() 490 assert(std::isinf(-1.0) == false); in test_isinf()
|