Home
last modified time | relevance | path

Searched refs:NaN (Results 1 – 8 of 8) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/
Dcomplex_divide_complex.pass.cpp52 assert(classify(r) == NaN); in test_edges()
60 case NaN: in test_edges()
61 assert(classify(r) == NaN); in test_edges()
64 assert(classify(r) == NaN); in test_edges()
80 case NaN: in test_edges()
81 assert(classify(r) == NaN); in test_edges()
84 assert(classify(r) == NaN); in test_edges()
98 assert(classify(r) == NaN); in test_edges()
100 case NaN: in test_edges()
101 assert(classify(r) == NaN); in test_edges()
[all …]
Dcomplex_times_complex.pass.cpp60 assert(classify(r) == NaN); in test_edges()
62 case NaN: in test_edges()
63 assert(classify(r) == NaN); in test_edges()
66 assert(classify(r) == NaN); in test_edges()
82 case NaN: in test_edges()
83 assert(classify(r) == NaN); in test_edges()
86 assert(classify(r) == NaN); in test_edges()
94 assert(classify(r) == NaN); in test_edges()
102 case NaN: in test_edges()
103 assert(classify(r) == NaN); in test_edges()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/
Dpolar.pass.cpp58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
61 assert(c == NaN || c == non_zero_nan); in test_edges()
69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
72 assert(c == NaN || c == non_zero_nan); in test_edges()
83 assert(c == NaN || c == non_zero_nan); in test_edges()
88 if (classify(theta) != NaN && classify(theta) != inf) in test_edges()
90 assert(classify(real(z)) != NaN); in test_edges()
91 assert(classify(imag(z)) != NaN); in test_edges()
95 case NaN: in test_edges()
99 assert(c == NaN || c == non_zero_nan); in test_edges()
Dabs.pass.cpp47 case NaN: in test_edges()
Dnorm.pass.cpp47 case NaN: in test_edges()
Dproj.pass.cpp57 case NaN: in test_edges()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/
Dcases.h175 enum {zero, non_zero, inf, NaN, non_zero_nan}; enumerator
186 return NaN; in classify()
190 return NaN; in classify()
196 return NaN; in classify()
211 return NaN; in classify()
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc2821 TEST_F(FloatTest, NaN) { in TEST_F() argument
2994 TEST_F(DoubleTest, NaN) { in TEST_F() argument