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

Lines Matching full:real

43         if (x[i].real() == 0 && x[i].imag() == 0)
45 assert(r.real() == 0);
46 assert(std::signbit(r.real()) == std::signbit(x[i].real()));
50 else if (x[i].real() == 0 && std::isinf(x[i].imag()))
52 assert(r.real() == 0);
55 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag()))
57 assert(std::isnan(r.real()));
60 else if (x[i].real() == 0 && std::isnan(x[i].imag()))
62 assert(r.real() == 0);
65 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag()))
67 assert(std::isnan(r.real()));
70 else if (std::isinf(x[i].real()) && x[i].imag() == 0)
72 assert(std::isinf(r.real()));
73 assert(std::signbit(r.real()) == std::signbit(x[i].real()));
77 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag()))
79 assert(std::isinf(r.real()));
80 assert(std::signbit(r.real()) == std::signbit(x[i].real() * cos(x[i].imag())));
84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag()))
86 assert(std::isinf(r.real()));
89 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()))
91 assert(std::isinf(r.real()));
94 else if (std::isnan(x[i].real()) && x[i].imag() == 0)
96 assert(std::isnan(r.real()));
100 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag()))
102 assert(std::isnan(r.real()));
105 else if (std::isnan(x[i].real()) && std::isnan(x[i].imag()))
107 assert(std::isnan(r.real()));