• Home
  • Raw
  • Download

Lines Matching refs:imag

41         if (testcases[i].real() == 0 && testcases[i].imag() == 0)  in test_edges()
45 assert(r.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()
51 assert(std::isnan(r.imag())); in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
56 assert(std::isnan(r.imag())); in test_edges()
58 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
61 assert(r.imag() == 0); in test_edges()
62 assert(std::signbit(r.imag()) == std::signbit(sin(2*testcases[i].imag()))); in test_edges()
64 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
67 assert(r.imag() == 0); in test_edges()
69 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
72 assert(r.imag() == 0); in test_edges()
74 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0) in test_edges()
77 assert(r.imag() == 0); in test_edges()
78 assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag())); in test_edges()
80 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
83 assert(std::isnan(r.imag())); in test_edges()
85 else if (std::isnan(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
88 assert(std::isnan(r.imag())); in test_edges()