This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2
- From: "Thomas dot Koenig at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2005 09:42:04 -0000
- Subject: [Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2
- References: <20050215161817.19974.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From Thomas dot Koenig at online dot de 2005-02-17 09:42 -------
(In reply to comment #7)
> Using Mathematica I get for
> (10^20 + 10^12 I)/(1 - 10^-8) = 10^20 + 2 * 10^12 I
>
> so really neither of them are mathematically correct.
The test case was (10^20-10^12*I)/(1-10^(-8)*I), which is 10^20,
obviously.
For what it is worth, ifort also gets 18059 as the result. I'll
do some checking to see what this should really be.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19974