HelenOS sources

real               55 uspace/lib/cpp/include/__bits/complex.hpp                 : real_(other.real()), imag_(other.imag())
real              195 uspace/lib/cpp/include/__bits/complex.hpp                 : real_(other.real()), imag_(other.imag())
real              335 uspace/lib/cpp/include/__bits/complex.hpp                 : real_(other.real()), imag_(other.imag())
real              475 uspace/lib/cpp/include/__bits/complex.hpp                 : real_(other.real()), imag_(other.imag())
real              683 uspace/lib/cpp/include/__bits/complex.hpp         return complex<T>{-c.real(), -c.imag()};
real              689 uspace/lib/cpp/include/__bits/complex.hpp         return lhs.real() == rhs.real() && lhs.imag() == rhs.imag();
real              695 uspace/lib/cpp/include/__bits/complex.hpp         return lhs.real() == rhs && lhs.imag() == T{};
real              701 uspace/lib/cpp/include/__bits/complex.hpp         return lhs == rhs.real() && T{} == rhs.imag();
real              707 uspace/lib/cpp/include/__bits/complex.hpp         return lhs.real() != rhs.real() || lhs.imag() != rhs.imag();
real              713 uspace/lib/cpp/include/__bits/complex.hpp         return lhs.real() != rhs || lhs.imag() != T{};
real              719 uspace/lib/cpp/include/__bits/complex.hpp         return lhs != rhs.real() || T{} != rhs.imag();
real              740 uspace/lib/cpp/include/__bits/complex.hpp         oss << "(" << c.real() << "," << c.imag() << ")";
real              752 uspace/lib/cpp/include/__bits/complex.hpp         return c.real();
real              764 uspace/lib/cpp/include/__bits/complex.hpp         return c.real() * c.real() + c.imag() * c.imag();
real              158 uspace/lib/cpp/src/__bits/test/numeric.cpp         test_eq("complex literals pt1", c1.real(), 1.f);
real              176 uspace/lib/cpp/src/__bits/test/numeric.cpp         test_eq("complex real", std::real(2.0 + 3.0i), 2.0);
HelenOS homepage, sources at GitHub