Lines Matching full:real
43 if (x[i].real() == 0 && x[i].imag() == 0)
45 assert(std::signbit(r.real()) == std::signbit(x[i].real()));
48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag()))
50 assert(std::isinf(r.real()));
51 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
57 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag()))
59 assert(std::isnan(r.real()));
62 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag()))
64 assert(std::isinf(r.real()));
65 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
69 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag()))
71 assert(std::isinf(r.real()));
72 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
78 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()))
80 assert(std::isinf(r.real()));
81 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
84 else if (std::isnan(x[i].real()) && x[i].imag() == 0)
86 assert(std::isnan(r.real()));
90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag()))
92 assert(std::isnan(r.real()));
95 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag()))
97 assert(std::isinf(r.real()));
100 else if (std::isnan(x[i].real()) && std::isnan(x[i].imag()))
102 assert(std::isnan(r.real()));
107 assert(std::signbit(r.real()) == std::signbit(x[i].real()));