From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,f8f184f3bc3517df X-Google-Attributes: gidfc89c,public X-Google-Thread: f678f,f8f184f3bc3517df X-Google-Attributes: gidf678f,public X-Google-Thread: 1094ba,f8f184f3bc3517df X-Google-Attributes: gid1094ba,public From: lionel@mail.dec.com (Steve Lionel) Subject: Re: a**2 or a*a Date: 1998/01/15 Message-ID: <69lds7$9nr@usenet.pa.dec.com>#1/1 X-Deja-AN: 316234710 Sender: lionel@quark (Steve Lionel) References: <34BCC4A4.F27A00D1@cranfield.ac.uk> Reply-To: lionel@mail.dec.com (Steve Lionel) Distribution: world Organization: Digital Equipment Corporation, Nashua NH Newsgroups: comp.lang.fortran,comp.unix.osf.misc,comp.unix.programmer In article <34BCC4A4.F27A00D1@cranfield.ac.uk>, Yon Han CHONG writes: |>Is there speed difference between a**2 and a*a. |> |>I am using DEC fortran 90. DIGITAL Fortran 90 generates identical code for these two constructs. My general advice is to use whichever form is more "obvious" to the reader given the computation you are performing. -- Steve Lionel mailto:Steve.Lionel@digital.com Fortran Development http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on DIGITAL Fortran, see http://www.digital.com/fortran