Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.transcendentals/
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 …]
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 …]
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 …]
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 …]
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 …]
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()
Dsin.pass.cpp46 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()
Datan.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()
Dpow_complex_complex.pass.cpp47 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()
Dtan.pass.cpp47 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/
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()
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()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.value.ops/
Dabs.pass.cpp48 assert(std::isnan(r)); in test_edges()
51 assert(std::isnan(r)); in test_edges()
Dnorm.pass.cpp48 assert(std::isnan(r)); in test_edges()
51 assert(std::isnan(r)); in test_edges()
Darg.pass.cpp36 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/
Dmath_win32.h31 _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/
Dcases.h185 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()

12