[Bug libstdc++/20758] operator-(const T&, const complex<T>&) vs operator-(const complex<T>&, const complex<T>&)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 4 23:18:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-04 23:18 -------
(In reply to comment #5)
> Isn't the unary operator- a necessary ingredient for the bug because it
> silently changes the sign of zero?
I was just quoting what the standard says.
The exact quote is:
Returns complex<T>(lhs) -= rhs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20758
More information about the Gcc-bugs
mailing list