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!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.iwvisp.com!news.iwvisp.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 20 Jul 2006 11:57:02 -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> 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: Thu, 20 Jul 2006 08:46:57 PST Message-ID: <20060720.79BD230.8698@mojaveg.lsan.sisna.com> NNTP-Posting-Host: 66.42.106.144 X-Trace: sv3-iY66KFMJbt20pRPo6UGIw4aNKf559+fvXXWuvJOOykfpsiieHMAGtBdBF/mgySMctNfhg5aUIkd4ka5!UNgYS1teK2cE0PYnX7NtZDo5i819JzaPpS4OEA8pPf0F3M3qmpDUgjftEIfUuSOO3pTzJaxE03sD!PG7mRjy3Oi1MJNUKzCikTQ== 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:5840 comp.lang.fortran:12281 comp.lang.pl1:2068 Date: 2006-07-20T08:46:57-08:00 List-Id: "Shmuel (Seymour J.) Metz" writes: > mojaveg@mojaveg.lsan.sisna.com (Everett M. Greene) said: > > >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. > >Try the Univac mainframes. > > Which ones? the 490 and the 1107 lines let you test for zero in a > single instruction. They test for +0 in one instruction. If you want to reliably test for zero, you have to add 0 first. > >I once got bagged by one of a Univac-designed machine that did 0 x n > >= -0 for any negative value of n. > > And that was a problem because? Because the ensuing test for zero wasn't working reliably.