🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #511

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

#511
From: Anton Ertl
Date: Mon, 02 Nov 2026 19:14
44 lines
3610 bytes
Stephen Fuld <sfuld@alumni.cmu.edu.invalid> writes:
>a talk given at the 25th anniversary USE 
>conference (the Univac user's group) titled "Why it is the way it is", 
>by Ron Q Smith, then a long time and well respected Univac employee.  It 
>goes through the requirement by the military for 36 bit words, due to 
>needing eight digits of floating point precision, rather than the 6 
>digits that 32 bits would provide

The story I have read is that the requirement was 10 digits of
fixed-point numbers, although 34 bits plus sign bit would have been
enough for that.  That is supported by the fact that the IBM 701 has
36-bit words, but no floating-point.  Also, von Neumann was an
advocate agains floating point, and I expect that he had quite a bit
of influence on such requirements at the time.

>"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.

One interesting aspect is that the more mathematical types usually
prefer floored or Euclidean division over symmetric (aka truncated)
division, especially when it comes to the remainder that comes with
it.  See <https://en.wikipedia.org/wiki/Modulo_operation>.  But there
may be exceptions that prove the rule.

But if the US military specified symmetry in their requirements in the
1950s, that would explain why the US computers went for sign-magnitude
or ones-complement during that time, while the british computers were
already using twos-complement.

>Of course, the paper doesn't explain why the requirement for symmetry 
>seemed to go away and two's complement became acceptable.

The usual way, probably: by promotion, retirement, or death of the
person who wrote this requirement.  I don't know if it was von
Neumann, but he died in 1957.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov2.201449@mips.complang.tuwien.ac.at>
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!.POSTED!not-for-mail
References: <10uks4f$1dqo$1@gal.iecc.com> <86qzi8omzj.fsf@linuxsc.com> <119n5rt$1205$1@gal.iecc.com> <6abf7d77.41149906@news.eternal-september.org> <119ovig$15mk$2@gal.iecc.com> <2026Oct3.191827@mips.complang.tuwien.ac.at> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$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!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: two's complement and Flags (Re: arithmetic and endian history)
Date: Mon, 02 Nov 2026 19:14:49 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 44
Message-ID: <2026Nov2.201449@mips.complang.tuwien.ac.at>
References: <10uks4f$1dqo$1@gal.iecc.com> <86qzi8omzj.fsf@linuxsc.com> <119n5rt$1205$1@gal.iecc.com> <6abf7d77.41149906@news.eternal-september.org> <119ovig$15mk$2@gal.iecc.com> <2026Oct3.191827@mips.complang.tuwien.ac.at> <1791071365-5857@newsgrouper.org> <11cai8f$32ue7$1@dont-email.me>
Injection-Date: Mon, 02 Nov 2026 19:43:46 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3337593"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+8t3o0k5PSk/6Mt+5yImsv"; posting-host="e1a3a7e2decf1e89e183bf3e02cd337a"
Cancel-Lock: sha1:ek/BwZezbzqnu3y18KWBBr/GtEo= sha256:VprAZ1QSDVTpY/tsRv5CcXheCZHKXChLm8oxZ5asqPk=
	sha1:2dt6oigNZ5Vx3xYe5vl1yHljGVo= sha256:34xbodDIHeJY3fzIWccmgU+6dGZ5fpxsu4yUtDNrbHQ=
X-newsreader: xrn 10.11