[Bug middle-end/18882] [3.3/3.4 Regression] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
--- Additional Comments From mikulik at physics dot muni dot cz 2004-12-08 16:28 --- >> Further, multiplications of complex and int or double >> are unimplemented > So, let's begin from the end: there is nothing *unimplemented* as far > as operator* is co

[Bug libstdc++/18882] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
--- Additional Comments From mikulik at physics dot muni dot cz 2004-12-08 09:01 --- Results of pow(complex, int) calculated by GNU C++ 3.x are wrong. Further, multiplications of complex and int or double are unimplemented: complex x, y; y = 2 * x; y = 2.0 * x; And also complex x, y

[Bug libstdc++/18882] wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
--- Additional Comments From mikulik at physics dot muni dot cz 2004-12-08 08:53 --- Created an attachment (id=7704) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7704&action=view) for given x and n=1,2,3,4,5,... , print pow(x, n) -- http://gcc.gnu.org/bugzilla/show_

[Bug libstdc++/18882] New: wrong results of pow( complex(2, 1), odd integer )

2004-12-08 Thread mikulik at physics dot muni dot cz
gcc dot gnu dot org ReportedBy: mikulik at physics dot muni dot cz CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18882