Lines Matching refs:real
42 if (testcases[i].real() == 0 && testcases[i].imag() == 0) in test_edges()
44 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()
47 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) in test_edges()
49 assert(r.real() == 0); in test_edges()
50 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
53 else if (std::abs(testcases[i].real()) == 1 && testcases[i].imag() == 0) in test_edges()
55 assert(std::isinf(r.real())); in test_edges()
56 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
60 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
62 assert(r.real() == 0); in test_edges()
63 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
69 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
71 assert(std::isnan(r.real())); in test_edges()
74 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
76 assert(r.real() == 0); in test_edges()
77 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
83 else if (std::isinf(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
85 assert(r.real() == 0); in test_edges()
86 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
92 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
94 assert(r.real() == 0); in test_edges()
95 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
98 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
100 assert(std::isnan(r.real())); in test_edges()
103 else if (std::isnan(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
105 assert(r.real() == 0); in test_edges()
106 assert(std::signbit(testcases[i].real()) == std::signbit(r.real())); in test_edges()
112 else if (std::isnan(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
114 assert(std::isnan(r.real())); in test_edges()
119 assert(std::signbit(r.real()) == std::signbit(testcases[i].real())); in test_edges()