[Bug c++/28408] What should be value of complex<double>(1.0,0.0) *= -1?

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 6 18:50:00 GMT 2006



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-09-06 18:50 -------
There are most likely a couple of different issues here.  A front-end one with
(1.0+0.0i)*(-1) being expanded incorrectly, there is a bug about a case like
that too, see PR 24581.  There might even be a libstdc++ one too all depending
on how the complex class is implemented.  I have not looked into libstdc++ to
check yet.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28408



More information about the Gcc-bugs mailing list