Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!cbosgd!ukma!psuvm.bitnet!psuvax1!burdvax!sdcrdcf!doon From: doon@sdcrdcf.UUCP (Harry W. Reed) Newsgroups: net.arch Subject: Re: Right shift vs. divide Message-ID: <2567@sdcrdcf.UUCP> Date: Fri, 10-Jan-86 19:56:58 EST Article-I.D.: sdcrdcf.2567 Posted: Fri Jan 10 19:56:58 1986 Date-Received: Tue, 14-Jan-86 03:24:25 EST References: <4772@alice.UUCP> <3000002@convexs> <231@ism780c.UUCP> Reply-To: doon@sdcrdcf.UUCP (Harry W. Reed) Organization: System Development Corporation R&D, Santa Monica Lines: 19 In article <231@ism780c.UUCP> tim@ism780c.UUCP (Tim Smith) writes: >In article <3000002@convexs> wallach@convexs.UUCP writes: >> >>arithmetic right shifting is equivalent(numerically) to division if the >>algorithm is implemented correctly. just because most machines do it >>wrong doesn't mean it doesn't work. the correct algorithm for right >>shifting for fixed point is: >> >. >. >>the MV series from data general perform arithmetic right shifting >>correctly > >Argghhh! It is division that is wrong, not right shift! -1/2 should >be -1, not 0. Don't hardware people ever take math courses? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Where I went to school, us hardware people had to take MUCH more math than the software people!! (EE Vs. CS) So math is not the problem ...