Path: utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!claris!apple!well!rchrd From: rchrd@well.UUCP (Richard Friedman) Newsgroups: comp.lang.fortran Subject: Re: CDC FORTRAN trivia questions Keywords: arithmetic if logical Message-ID: <7548@well.UUCP> Date: 3 Nov 88 19:27:43 GMT References: <1196@helios.ee.lbl.gov> <3616@s.cc.purdue.edu> <7523@ut-emx.UUCP> <3622@s.cc.purdue.edu> <7693@boring.cwi.nl> Reply-To: rchrd@well.UUCP (Richard Friedman) Organization: RCHRD 2855 Telegraph #415 Berkeley CA 94705 Lines: 9 I believe the old RUN compiler would generate code to test the number of 1 bits in a register. If this was 60, the result was true. (The 6600 hardware had a CXi Xj instruction to count the number of 1 bits in Xj and leave that number in Xi). -- ...Richard Friedman [rchrd] uucp: {ucbvax,lll-lcc,ptsfa,hplabs}!well!rchrd - or - rchrd@well.uucp