Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!bellcore!faline!ulysses!mhuxt!ihnp4!inuxc!iuvax!pur-ee!j.cc.purdue.edu!k.cc.purdue.edu!l.cc.purdue.edu!cik From: cik@l.cc.purdue.edu (Herman Rubin) Newsgroups: comp.lang.fortran Subject: Re: Cray amod bug Message-ID: <604@l.cc.purdue.edu> Date: Mon, 2-Nov-87 06:10:47 EST Article-I.D.: l.604 Posted: Mon Nov 2 06:10:47 1987 Date-Received: Fri, 6-Nov-87 23:19:19 EST References: <1373@cartan.Berkeley.EDU> Organization: Purdue University Statistics Department Lines: 11 Summary: It is hardware, CRAY doesn't divide This problem is not a FORTRAN problem. The CRAYs have no divide instruction, but the compiler assumes that it does. It takes many instructions to assure that the quotient is "correct" in the sense that problems about sign of the remainder do not occur. I suggest that the AMOD code be rewritten to take the problem into account. -- Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907 Phone: (317)494-6054 hrubin@l.cc.purdue.edu (ARPA or UUCP) or hrubin@purccvm.bitnet