Lines Matching full:isnan
49 assert(std::isnan(r.real()));
50 assert(std::isnan(r.imag()));
52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag()))
54 assert(std::isnan(r.real()));
55 assert(std::isnan(r.imag()));
72 assert(std::isnan(r.imag()));
74 else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].imag()))
79 else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].imag()))
82 assert(std::isnan(r.imag()));
84 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0)
86 assert(std::isnan(r.real()));
90 else if (std::isnan(testcases[i].real()) && testcases[i].imag() != 0)
92 assert(std::isnan(r.real()));
93 assert(std::isnan(r.imag()));
95 else if (std::isnan(testcases[i].real()) && std::isnan(testcases[i].imag()))
97 assert(std::isnan(r.real()));
98 assert(std::isnan(r.imag()));