[Bug libstdc++/18882] wrong results of pow( complex<long double>(2, 1), odd integer )
mikulik at physics dot muni dot cz
gcc-bugzilla@gcc.gnu.org
Wed Dec 8 09:01:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list