From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c4cb2c432feebd9d X-Google-Thread: 1094ba,c4cb2c432feebd9d X-Google-Thread: 101deb,15c6ed4b761968e6 X-Google-Attributes: gid103376,gid1094ba,gid101deb,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.maxwell.syr.edu!news-rtr.nyroc.rr.com!news-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail From: Peter Flass User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.fortran,comp.lang.pl1 Subject: Re: ONES COMPLEMENT References: <0ugu4e.4i7.ln@hunter.axlog.fr> <%P_cg.155733$eR6.26337@bgtnsc04-news.ops.worldnet.att.net> <6H9dg.10258$S7.9150@news-server.bigpond.net.au> <1hfv5wb.1x4ab1tbdzk7eN%nospam@see.signature> <20060712.7A4E6E0.D028@mojaveg.lsan.sisna <20060717.7A4ADD0.10B1A@mojaveg.lsan.sisna.com> <44bceab6$29$fuzhry+tra$mr2ice@news.patriot.net> In-Reply-To: <44bceab6$29$fuzhry+tra$mr2ice@news.patriot.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 19 Jul 2006 11:18:51 GMT NNTP-Posting-Host: 72.228.29.239 X-Complaints-To: abuse@rr.com X-Trace: twister.nyroc.rr.com 1153307931 72.228.29.239 (Wed, 19 Jul 2006 07:18:51 EDT) NNTP-Posting-Date: Wed, 19 Jul 2006 07:18:51 EDT Organization: Road Runner Xref: g2news2.google.com comp.lang.ada:5804 comp.lang.fortran:12216 comp.lang.pl1:2038 Date: 2006-07-19T11:18:51+00:00 List-Id: Shmuel (Seymour J.) Metz wrote: > In <20060717.7A4ADD0.10B1A@mojaveg.lsan.sisna.com>, on 07/17/2006 > at 06:26 PM, mojaveg@mojaveg.lsan.sisna.com (Everett M. Greene) > said: > >>A properly designed 1s complement machine would not >>generate -0 in normal arithmetic operations. > > > 0+(-0)? > > >>Thus, no need to perform a program check for -0. > > > I never saw a need to test for it regardless. Every 1s complement > machine I know of lets you test for zero in a single instruction. > What happens on a test for negative? Did the machines just test the sign bit, making -0 a negative number?