From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,ccf822f8fbab151f X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,88717a25b87bd0ae X-Google-Attributes: gid111c93,public From: lindahl@pbm.com (Greg Lindahl) Subject: Re: Double Complex with egcs (was Disappointing alpha) Date: 1998/08/24 Message-ID: <6rscn0$a7l@news1.newsguy.com>#1/1 X-Deja-AN: 384298086 References: <6rqkmt$rbp$1@news.kjist.ac.kr> Organization: a guest of Shadow Island Games Newsgroups: comp.lang.fortran,comp.os.linux.alpha > >> do m = m1,m2 > >> z1=z1 + x(m,l)*y(m,k) > >> end do > > Then, to work around this trouble, should I program everything in > double real by expanding the complex arithmetic? It is a real pain. No, g77 does this for you by default. This produces correct but slow answers. If you give the other flag, -fno-emulate-complex, you may get the wrong answer, but it will be faster. If you run with and without this flag and compare the answer, you will find out if you have encountered a bug or not. -- g