Article View: comp.arch
Article #13Re: two's complement and Flags (Re: arithmetic and endian history)
From: John Levine
Date: Wed, 07 Oct 2026 19:53
Date: Wed, 07 Oct 2026 19:53
19 lines
1829 bytes
1829 bytes
According to Thomas Koenig <tkoenig@netcologne.de>: >Terje Mathisen <terje.mathisen@tmsw.no> schrieb: > >> I.e the only difference between a fp and integer comparator lies in the >> need to detect any NaNs, all the rest can reuse all but the top bit of >> the integer comparator. > >#ifdef NITPICK > >A one's complement integer comparator, +0.0 is equal to -0.0. > >#endif You would think so, but you'd often be disappointed. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly
Technical Details
Message-ID:
<11a67vp$4s0$1@gal.iecc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mailReferences:
<10uks4f$1dqo$1@gal.iecc.com> <11a3ddi$1jl8$1@gal.iecc.com> <11a3paf$2auvm$1@dont-email.me> <11a5652$2okl5$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: two's complement and Flags (Re: arithmetic and endian history) Date: Wed, 7 Oct 2026 19:53:29 -0000 (UTC) Organization: Taughannock Networks Message-ID: <11a67vp$4s0$1@gal.iecc.com> References: <10uks4f$1dqo$1@gal.iecc.com> <11a3ddi$1jl8$1@gal.iecc.com> <11a3paf$2auvm$1@dont-email.me> <11a5652$2okl5$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 7 Oct 2026 19:53:29 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="4992"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <10uks4f$1dqo$1@gal.iecc.com> <11a3ddi$1jl8$1@gal.iecc.com> <11a3paf$2auvm$1@dont-email.me> <11a5652$2okl5$1@dont-email.me> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine)