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.9 required=5.0 tests=BAYES_00 autolearn=ham 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!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.iwvisp.com!news.iwvisp.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 22 Jul 2006 10:23:03 -0500 Newsgroups: comp.lang.ada,comp.lang.fortran,comp.lang.pl1 From: mojaveg@mojaveg.lsan.sisna.com (Everett M. Greene) Subject: Re: ONES COMPLEMENT (was: Ada vs Fortran for scientific applications) 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> <20060719.79A3E90.87CE@mojaveg.lsan.sisna.com> <44be98a1$38$fuzhry+tra$mr2ice@news.patriot.net> <20060720.79BD230.8698@mojaveg.lsan.sisna.com> <44c00809$1$fuzhry+tra$mr2ice@news.patriot.net> X-NewsReader: GRn 3.2n February 9, 1999 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Organization: none that you'd notice Date: Sat, 22 Jul 2006 07:12:58 PST Message-ID: <20060722.79B66E0.70A7@mojaveg.lsan.sisna.com> NNTP-Posting-Host: 66.42.106.144 X-Trace: sv3-IyBJAgpq1g7h1UnBcPM9qiBm0lQg+p/Ip1XSllecAjn9QYSlwPjn3f4mI3vKXAMqMChKRw51thrBUzN!sSh0NE61yGVssqsYEn1qZ8uSGvRK58LwL2GLUoVIutjLHTMur0nlTgxYIimrXjp1mh2HPLrccO+g!TDMl6nbfh55Z5SEL/s3LZw== X-Complaints-To: abuse@iwvisp.com X-DMCA-Complaints-To: abuse@iwvisp.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:5878 comp.lang.fortran:12344 comp.lang.pl1:2095 Date: 2006-07-22T07:12:58-08:00 List-Id: "Shmuel (Seymour J.) Metz" writes: > mojaveg@mojaveg.lsan.sisna.com (Everett M. Greene) said: > >"Shmuel (Seymour J.) Metz" > >> >A subtractive adder. > >> > >> How so? 0+(-0) is a straight addition of 0...0 and 7...7, requiring > >> no complementation. > > >Context was deleted so I have no idea what you're trying to say > >above. > > Robin wrote "A properly designed 1s complement machine would not > generate -0 in normal arithmetic operations." > > I responded "0+(-0)?". > > You responded "A subtractive adder." > > I'm trying to say that there's nothing about 0+(-0) requiring a > subtractive adder. You are correct -- there's nothing /requiring/ a subtractive adder. But using such a design precludes certain cases of -0 from being generated. > >They test for +0 in one instruction. If you want to reliably test > >for zero, you have to add 0 first. > > From JZ in UP-4053, UNIVAC 1108 PROCESSOR AND STORAGE: > > Program control is transferred to U if the (A) are all zeros or > all ones. > > I repeat, which UNIVAC mainframe are you talking about? It's clearly > not the 1108.