Home | History | Annotate | Download | only in complex.transcendentals

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 ( x[i].real() == 0 && std::isnan(x[i].imag()))
50 assert(r.real() == 0);
51 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
54 else if (std::abs(x[i].real()) == 1 && x[i].imag() == 0)
56 assert(std::isinf(r.real()));
57 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag()))
63 assert(r.real() == 0);
64 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
70 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag()))
72 assert(std::isnan(r.real()));
75 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag()))
77 assert(r.real() == 0);
78 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag()))
86 assert(r.real() == 0);
87 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
93 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()))
95 assert(r.real() == 0);
96 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
99 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag()))
101 assert(std::isnan(r.real()));
104 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag()))
106 assert(r.real() == 0);
107 assert(std::signbit(x[i].real()) == std::signbit(r.real()));
113 else if (std::isnan(x[i].real()) && std::isnan(x[i].imag()))
115 assert(std::isnan(r.real()));
120 assert(std::signbit(r.real()) == std::signbit(x[i].real()));