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!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: Wed, 19 Jul 2006 12:21:36 -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> 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: Wed, 19 Jul 2006 09:11:34 PST Message-ID: <20060719.79A3E90.87CE@mojaveg.lsan.sisna.com> NNTP-Posting-Host: 66.42.106.167 X-Trace: sv3-P1SivihwxQl8MT/SmtQHfeUZLFZelpRvYxz42soaTmsFNF3qGMvtLqW3EJqO3VOCROqR8HCSxMYEp1h!PviOy4/g8gypsEroHb/Lkhz4QopF0BWZOX3bM6x3Z6faAXseYYiShPpxDmmhSF5I48KjmsJEJffF!NKExO8qhFzZu/VJEzTEn8w== 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:5818 comp.lang.fortran:12234 comp.lang.pl1:2055 Date: 2006-07-19T09:11:34-08:00 List-Id: "Shmuel (Seymour J.) Metz" writes: > mojaveg@mojaveg.lsan.sisna.com (Everett M. Greene) said: > >"robin" writes: > > >> Some implementations of ones complement used two forms of > >> zero > > FSVO "some" equal to "all". > > >>which required two tests. > > That makes no sense. > > >A properly designed 1s complement machine would not > >generate -0 in normal arithmetic operations. > > 0+(-0)? A subtractive adder. > >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. Try the Univac mainframes. I once got bagged by one of a Univac-designed machine that did 0 x n = -0 for any negative value of n. This wasn't the way it should work, but it worked that way to be compatible with an earlier machine. ["It's a mistake, but we are consistently wrong."] > >> How many machines now offer ones complement arithmetic? > > Before the S/360 captured the market there were large numbers of > machines in the lines started with the CDC 160, CDC 6660 and the > UNIVAC 1107. The shift seemed to be a copycat issue more than a > technological one.