• Home
  • Raw
  • Download

Lines Matching refs:imag

42         if (testcases[i].real() == 0 && testcases[i].imag() == 0)  in test_edges()
45 assert(r.imag() == 0); in test_edges()
46 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
48 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
51 assert(std::isnan(r.imag())); in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
56 assert(std::isinf(r.imag())); in test_edges()
57 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
59 …(std::isfinite(testcases[i].real()) && testcases[i].real() != 0 && std::isnan(testcases[i].imag())) in test_edges()
62 assert(std::isnan(r.imag())); in test_edges()
64 … (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].imag())) in test_edges()
67 assert(std::isinf(r.imag())); in test_edges()
68 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
70 … (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].imag())) in test_edges()
74 assert(std::isinf(r.imag())); in test_edges()
75 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
77 … if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].imag())) in test_edges()
80 assert(std::isinf(r.imag())); in test_edges()
81 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
83 … if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].imag())) in test_edges()
86 assert(std::isinf(r.imag())); in test_edges()
87 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
89 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
92 assert(std::isinf(r.imag())); in test_edges()
94 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
97 assert(std::isnan(r.imag())); in test_edges()
99 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
102 assert(std::isinf(r.imag())); in test_edges()
103 assert(std::signbit(testcases[i].imag()) != std::signbit(r.imag())); in test_edges()
105 else if (std::isnan(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
108 assert(std::isnan(r.imag())); in test_edges()
110 else if (!std::signbit(testcases[i].real()) && !std::signbit(testcases[i].imag())) in test_edges()
113 assert( std::signbit(r.imag())); in test_edges()
115 else if (std::signbit(testcases[i].real()) && !std::signbit(testcases[i].imag())) in test_edges()
118 assert( std::signbit(r.imag())); in test_edges()
120 else if (std::signbit(testcases[i].real()) && std::signbit(testcases[i].imag())) in test_edges()
123 assert(!std::signbit(r.imag())); in test_edges()
125 else if (!std::signbit(testcases[i].real()) && std::signbit(testcases[i].imag())) in test_edges()
128 assert(!std::signbit(r.imag())); in test_edges()