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,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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 21 Jul 2006 12:22:41 -0500 Date: Fri, 21 Jul 2006 10:23:04 -0700 From: glen herrmannsfeldt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; 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> <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> In-Reply-To: <44c00809$1$fuzhry+tra$mr2ice@news.patriot.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.18.174.4 X-Trace: sv3-0HWa5GIMXVOaf9v6snL52F5D133jtibbsQI1uSlGeHS94qYzGY3g1IsOFmexnCKvPBN3gNrJWKhQ+Ov!coloxFSEo1Y0X48KEFk3JJxu9UcsHKMDFAwnqjKdPg4jmAKi1QBn3Knl4+Y4wNWrpaEzzmWnGl7W!8inaeA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net 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:5862 comp.lang.fortran:12313 comp.lang.pl1:2079 Date: 2006-07-21T10:23:04-07:00 List-Id: Shmuel (Seymour J.) Metz wrote: (snip) > 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. There are adder designs that reduce the generation of -0. In any case, Seymour Cray, who probably knows more about fast processor design than anyone reading this newsgroup, designed ones complement machines for many years. There is also a lot of literature on processor design. Fortran and C definitely allow ones complement arithmetic, so a standard conforming program for those languages has to allow for it. (I didn't look it up for PL/I or ADA, but most likely they do, too. Java is the only language that I know doesn't allow it.) Unless someone wants to go to the literature and find the known answers, there doesn't seem to be much point in arguing it here. -- glen