Commit 17cbe727 authored by Шагин Ренал Рустемович's avatar Шагин Ренал Рустемович
Browse files

-

parent 965f3083
No related merge requests found
Showing with 6 additions and 3 deletions
+6 -3
......@@ -77,7 +77,7 @@ std::ostream& operator<<(std::ostream& out, const Complex& v) {
if (likeequal(v.m_re, 0)) {
return out << 'i';
}
sout << v.m_re << "i";
sout << v.m_re << "+i";
return out << sout.str();
}
if (likeequal(v.m_re, 0)) {
......
| 1+1i 5+5i|
|6+6i 5+5i|
\ No newline at end of file
| 1+1i 1-1i 1+0i 1-0i|
|2+1i 2-1i 2+0i 2-0i|
| 1+2i 1-2i 1+2i 1-2i|
| 0+2i 0-2i 0+2i 0-2i|
| 0+1i 0-1i 0+1i 0-1i|
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment