Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site unc.unc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!mcnc!unc!rentsch From: rentsch@unc.UUCP Newsgroups: net.arch Subject: Re: Right shift vs. divide Message-ID: <855@unc.unc.UUCP> Date: Sat, 18-Jan-86 01:35:31 EST Article-I.D.: unc.855 Posted: Sat Jan 18 01:35:31 1986 Date-Received: Sun, 19-Jan-86 05:45:46 EST References: <124000005@ima.UUCP> <4772@alice.UUCP> <996@mmintl.UUCP> <239@ism780c.UUCP> Reply-To: rentsch@unc.UUCP (Tim Rentsch) Organization: CS Dept, U. of N. Carolina, Chapel Hill Lines: 13 Summary: All this argument over whether divide == right shift for negative arguments is pretty irrelevant. As every good systems hacker knows, [computer] division is only defined when both the operands are positive! :-) If that isn't enough for you, try looking at rules for fixed point division in PL/I. Now answer this simple question: What is 25 + 1/3 ? (Hint: same as 25 + (1/3) ). [One final thing: no flames about this not belonging on newsgroup X, and answers to /dev/null, please. And add my vote for ending the discussion of right shift versus divide right now!]