Lines Matching refs:imag
43 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
46 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
48 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
52 assert(std::isinf(r.imag())); in test_edges()
53 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
55 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
59 assert(std::isnan(r.imag())); in test_edges()
61 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
64 assert(std::isnan(r.imag())); in test_edges()
66 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
72 assert(std::isinf(r.imag())); in test_edges()
73 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
75 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
81 assert(std::isinf(r.imag())); in test_edges()
82 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
84 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
87 assert(std::isinf(r.imag())); in test_edges()
88 assert(std::signbit(testcases[i].real()) != std::signbit(r.imag())); in test_edges()
90 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
93 assert(std::isnan(r.imag())); in test_edges()
95 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
98 assert(std::isinf(r.imag())); in test_edges()
100 else if (std::isnan(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
103 assert(std::isnan(r.imag())); in test_edges()
108 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()