Path: utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!ucsd!sdd.hp.com!usc!snorkelwacker.mit.edu!ai-lab!life!burley From: burley@pogo.ai.mit.edu (Craig Burley) Newsgroups: comp.lang.fortran Subject: Re: strength reduction of array address calculations Message-ID: Date: 29 Nov 90 01:56:39 GMT References: <17680:Nov2806:04:1090@kramden.acf.nyu.edu> <1990Nov28.065242.10154@murdoch.acc.Virginia.EDU> <1990Nov28.213735.25563@murdoch.acc.Virginia.EDU> Sender: news@ai.mit.edu Organization: /home/fsf/burley/.organization Lines: 7 In-reply-to: burley@pogo.ai.mit.edu's message of 29 Nov 90 01:50:03 GMT Woops, among any errors anyone else finds, the Fortran version of the subroutine FOO should have calculated 3.1415*(I+J-2), not 3.1415*(I+J), since the C version iterated i and j from 0 thru 99 while the Fortran version iterated from 1 thru 100. Sorry. -- James Craig Burley, Software Craftsperson burley@ai.mit.edu