/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.transcendentals/ |
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 | 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 | 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 | 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 | 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 | 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()
|
D | sin.pass.cpp | 46 if (std::isnan(real(r))) in test_edges() 47 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 | atan.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()
|
D | pow_complex_complex.pass.cpp | 47 if (std::isnan(real(r))) in test_edges() 48 assert(std::isnan(real(z))); in test_edges() 54 if (std::isnan(imag(r))) in test_edges() 55 assert(std::isnan(imag(z))); in test_edges()
|
D | tan.pass.cpp | 47 if (std::isnan(real(r))) in test_edges() 48 assert(std::isnan(real(z))); in test_edges() 54 if (std::isnan(imag(r))) in test_edges() 55 assert(std::isnan(imag(z))); in test_edges()
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.limits/limits/numeric.limits.members/ |
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()
|
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()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.value.ops/ |
D | abs.pass.cpp | 48 assert(std::isnan(r)); in test_edges() 51 assert(std::isnan(r)); in test_edges()
|
D | norm.pass.cpp | 48 assert(std::isnan(r)); in test_edges() 51 assert(std::isnan(r)); in test_edges()
|
D | arg.pass.cpp | 36 if (std::isnan(x[i].real()) || std::isnan(x[i].imag())) in test_edges() 37 assert(std::isnan(r)); in test_edges()
|
/ndk/sources/cxx-stl/llvm-libc++/include/support/win32/ |
D | math_win32.h | 31 _LIBCPP_ALWAYS_INLINE bool isnan( double num ) in isnan() function 73 return isnan(x) || isnan(y); in isunordered()
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/ |
D | cases.h | 185 if (std::isnan(x.real()) && std::isnan(x.imag())) in classify() 187 if (std::isnan(x.real())) in classify() 193 if (std::isnan(x.imag())) in classify() 210 if (std::isnan(x)) in classify()
|