This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/20758] operator-(const T&, const complex<T>&) vs operator-(const complex<T>&, const complex<T>&)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]