1 * From: "Billinghurst, David (RTD)" <David.Billinghurst@riotinto.com.au>
2 * Subject: RE: single precision complex bug in g77 - was Testing g77 with LA
4 * Date: Thu, 8 Jul 1999 00:55:11 +0100
5 * X-UIDL: b00d9d8081a36fef561b827d255dd4a5
7 * Here is a slightly simpler and neater test case
12 * This program gives the wrong answer on mips-sgi-irix6.5
13 * when compiled with g77 from egcs-19990629 (gcc 2.95 prerelease)
14 * Get a = 0.0 when it should be 1.0
16 * Works with: -femulate-complex
19 * Originally derived from LAPACK 3.0 test suite.
21 * David Billinghurst, (David.Billinghurst@riotinto.com.au)
29 if ( abs(a-1.0) .gt. 1.0e-5 ) then
30 write(6,*) 'A should be 1.0 but it is',a