Print zeros

main
Micke Nordin 2 years ago
parent ae46252c3e
commit 6db1b1e943
Signed by: micke
GPG Key ID: 014B273D614BE877

@ -76,6 +76,9 @@ public:
} }
os << 'i'; os << 'i';
} }
if (z.r == 0 && z.i == 0) {
os << '0';
}
return os; return os;
} }
void operator=(const cnumber &z) { void operator=(const cnumber &z) {

Loading…
Cancel
Save