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 target/19974] incorrect complex division on ia-64 with flag_complex_method = 2


------- 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


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