🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #546

Re: bad floating point, two's complement and Flags (Re: arithmetic and endian history)

#546
From: John Levine
Date: Thu, 05 Nov 2026 17:26
22 lines
2336 bytes
According to Stephen Fuld  <sfuld@alumni.cmu.edu.invalid>:
>> 4-bits is only 1.3 decimal digits--not 2.0
>
>Yes.  It looks like the paper erred in that 32 bits, with its 24 bits of 
>mantissa provides seven digits of precision, not six.  But Univac's 36 
>bit single precision, with its 27 bits of mantissa does provide eight 
>digits of precision.

Depends whose 32 bit floating point.  The design mistakes in the 360's
hex floating point lost three bits of precision on each operation relative
to a well designed 32 but format, so 6 seems about right.

To review: they wrongly assumed that leading digits are uniformly distributed
while in fact they're geometrically distributed, so the leading hex digit on
average has two leading zeros rather than the 1 they estimated.  Also they
truncated rather than rounding, losing another bit.  And hex can't do the
binary hidden bit trick, losing the third bit.

-- 
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: <11cie7r$2edu$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-mail
References: <10uks4f$1dqo$1@gal.iecc.com> <11cfs7h$tkeb$2@dont-email.me> <1793829210-5857@newsgrouper.org> <11cia1g$1p33n$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: bad floating point, two's complement and Flags (Re: arithmetic and endian history)
Date: Thu, 5 Nov 2026 17:26:19 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <11cie7r$2edu$1@gal.iecc.com>
References: <10uks4f$1dqo$1@gal.iecc.com> <11cfs7h$tkeb$2@dont-email.me> <1793829210-5857@newsgrouper.org> <11cia1g$1p33n$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 Nov 2026 17:26:19 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="80318"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <10uks4f$1dqo$1@gal.iecc.com> <11cfs7h$tkeb$2@dont-email.me> <1793829210-5857@newsgrouper.org> <11cia1g$1p33n$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)