• Home
  • Raw
  • Download

Lines Matching refs:imag

27     assert(std::abs(imag(c)) < 1.e-6);  in test()
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::isinf(testcases[i].imag())) in test_edges()
52 assert(std::isinf(r.imag())); in test_edges()
53 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
55 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
58 assert(std::isnan(r.imag())); in test_edges()
60 … (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].imag())) in test_edges()
64 assert(std::isinf(r.imag())); in test_edges()
65 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
67 … (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].imag())) in test_edges()
71 assert(r.imag() == 0); in test_edges()
72 assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag())); in test_edges()
74 … if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].imag())) in test_edges()
77 assert(std::isinf(r.imag())); in test_edges()
79 … if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].imag())) in test_edges()
83 assert(std::isnan(r.imag())); in test_edges()
85 …snan(testcases[i].real()) && (std::isfinite(testcases[i].imag()) || std::isnan(testcases[i].imag()… in test_edges()
88 assert(std::isnan(r.imag())); in test_edges()
90 else if (std::signbit(testcases[i].imag())) in test_edges()
93 assert(std::signbit(r.imag())); in test_edges()
98 assert(!std::signbit(r.imag())); in test_edges()