From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7ab0bd6311cbc59e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-15 08:51:32 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!sun4nl!ruuinf!ruunfs.fys.ruu.nl!mos From: mos@fys.ruu.nl (Henk Mos) Subject: Re: FORTRAN complex*16 exponentiation bug on alphas Message-ID: Keywords: FORTRAN, alpha, complex Sender: usenet@fys.ruu.nl (News Control) Organization: Physics Department, University of Utrecht, The Netherlands References: <37dd1a$224@harbinger.cc.monash.edu.au> Date: 15 Oct 94 14:59:46 GMT In <37dd1a$224@harbinger.cc.monash.edu.au> cally@zeus.maths.monash.edu.au (Paul Cally) writes: >I have found a very nasty bug in the DEC FORTRAN compiler for AXP (alpha) >machines. Exponetiation of a complex*16 number gives rubbish. Here is an >example in which the square root of (4.d0,0.d0) is calculated in three >different ways:- [deleted] >I was running DEC Fortran V3.4 (DFABASE340) with DFARTL342 DEC Fortran >for OSF/1 AXP Runtime Support under OSF/1 2.0B on a DEC 3000/800. >Is this a known bug? Has it been/is it being fixed? I'm running DFABASE341 with DFARTL352 under OSF/1 2.1 and ^ your example gave no strange results (with -O4). So I don't think you have to upgrade to 3.0. Just install the latest version of Fortran. /Henk -- ---------------------------------------------------------------------- Henk J. Mos, Dept of Physics and Astrophysics, Utrecht University The Netherlands. Phone: 31-30-532239 Email: mos@fys.ruu.nl ----------------------------------------------------------------------