🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #512

Re: two's complement and Flags (Re: arithmetic and endian history)

#512
From: MitchAlsup
Date: Mon, 02 Nov 2026 20:00
36 lines
2752 bytes
John Levine <johnl@taugh.com> posted:

> According to Stephen Fuld  <sfuld@alumni.cmu.edu.invalid>:
> >"Scientists and engineers demanded both precision and mathematical 
> >consistency."  The result was both the 36 bit word and the use of 
> >mathematical representation that provided complete symmetry of positive 
> >and negative numbers. All of these machines used a numeric 
> >representation that had an equal number of positive and negative numbers 
> >and had both plus and minus zeros.  These requirements are still present 
> >today in the form of the IEEE floating point standard.  The IBM , GE and 
> >DEC machines used a signed-magnitude representation in which the sign 
> >bit was just that/  The Sperry Rand Univac systems used a 
> >ones-complement representation because it permitted faster addition and 
> >subtraction with less hardware.  A complement cycle was not needed for 
> >most operations."
> 
> The DEC PDP-10 had two's complement floating point but otherwise yes.
> That last sentence is true compared to sign-magnitude but it did need
> end-around carry.
> 
> >Of course, the paper doesn't explain why the requirement for symmetry 
> >seemed to go away and two's complement became acceptable.
> 
> IEEE floating point is still sign-magnitude since among other things that
> enables the hidden bit so you get more precision almost for free.
> 
> My guess is that for fixed point arithmetic, experience told people
> that having to account for two versions of zero was a pain, while the
> fact that the largest negative number had no positive representation
> didn't matter.

But is does matter:: when i == NEGMAX:: i == -i ?!?!? 

In what kind of arithmetic world does -i == i ???

{maybe not enough though}
Technical Details
Message-ID: <1793649628-5857@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <10uks4f$1dqo$1@gal.iecc.com> <2026Oct3.191827@mips.complang.tuwien.ac.at> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$1@dont-email.me> <11caljv$jeo$1@gal.iecc.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
From: MitchAlsup <user5857@newsgrouper.org.invalid>
Newsgroups: comp.arch
Subject: Re: two's complement and Flags (Re: arithmetic and endian history)
References: <10uks4f$1dqo$1@gal.iecc.com> <2026Oct3.191827@mips.complang.tuwien.ac.at> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$1@dont-email.me> <11caljv$jeo$1@gal.iecc.com>
Date: Mon, 02 Nov 2026 20:00:28 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1793649628-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Mon, 02 Nov 2026 20:00:28 GMT
User-Agent: Newsgrouper/0.9.0