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++/18882] wrong results of pow( complex<long double>(2, 1), odd integer )


------- Additional Comments From mikulik at physics dot muni dot cz  2004-12-08 09:01 -------
Results of pow(complex<long double>, int) calculated by GNU C++ 3.x are wrong.

Further, multiplications of complex<long double> and int or double are
unimplemented:

complex<long double> x, y;
y = 2 * x;
y = 2.0 * x;

And also
complex<double> x, y;
y = 2 * x;
y = x / 2;

Please fix it all. Thanks.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.3.1 3.4.2
      Known to work|                            |2.95


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


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