🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #121

Re: FCONSTANT specification

#121
From: Anton Ertl
Date: Sun, 18 Oct 2026 09:40
58 lines
4292 bytes
dxf <dxforth@gmail.com> writes:
>When Intel developed the 8087 it was with IEEE double-precision in mind.
>There's little doubt its the reason they chose an internal representation
>of 80 bits to handle at least some of IEEE's arithmetic and conversion
>requirements.

Citation needed.  Several things make this very unlikely:


*) The recounts of the development of the 8087 and IEEE 754 I have
   read do not provide support for such claims.  On the contrary, the
   idea behind the 8087 is reported to be "the best", and everything I
   read from Kahan about 80-bit formats is along the lines of them
   being being better than IEEE 754 DP format, and he deplores that
   they are not more widely available.  E.g.: "But the Macintosh based
   on the 68000 gave way to the PowerPC, whose arithmetic is
   inferior." [1]

   [1] 8087: http://web.archive.org/web/20190301193516/http://www.drdobbs.com/architecture-and-design/a-conversation-with-william-kahan/184410314

   BTW, this article was written by Jack Woehr, the author of JaxForth
   and Forth: The New Model.

   [2] IEEE 754: https://people.eecs.berkeley.edu/~wkahan/ieee754status/754story.html

*) The 8087 project was started before IEEE 754 and launched in 1980,
   IEEE 754 was released in 1985.  And in particular, it took at least
   until 1981 to decide between K-C-S (what eventually became IEEE
   754) and VAX F/G FP formats [2].

*) The 8087 and none of its successors imlements the IEEE 754
   double-precision operations fully.  Even with the 53-bit mode for
   the mantissa, the longer exponent means that there are cases where
   the result differs from that of binary64.  [That was a sore point
   for Java's write-once-run-anywhere promise until they started to
   rely on SSE2 on AMD64 processors.]

*) The 80-bit format is not just an internal representation.  It's
   exposed to software, and software makes use of it.  By contrast,
   many FPUs tend to have three extra bits that are not exposed to the
   users, and which you only see indirectly.  E.g., SSE2 has
   instructions MOVUPD, MOVUPS, and MOVDQU, which all do the same
   thing (take a look at the "Operation" description), but may differ
   in how they set up the internal representation, so if you follow a
   load performed with MOVUPS by a MULPD working on the loaded
   register, you may see a slowdown compared to using MOVUPD for the
   load, because the extra bits have to be generated first, before
   performing the actual work of the MULPD.

*) Lots of other architectures target IEEE double-precision without
   implementing 80-bit FP, much less providing it to users.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: https://forth-standard.org/
EuroForth 2026 CFP: http://www.euroforth.org/ef26/cfp.html
Technical Details
Message-ID: <2026Oct18.114008@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: <11aide4$1ibse$1@dont-email.me> <2026Oct12.203631@mips.complang.tuwien.ac.at> <11am4ae$fte4$1@dont-email.me> <nnd$6e3248f1$0599409a@3ae3c368d79558dd> <2026Oct14.102517@mips.complang.tuwien.ac.at> <6ad02ef0$1@news.ausics.net> <11as7ct$2voh4$1@dont-email.me> <6ad30b71$1@news.ausics.net>

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.lang.forth
Subject: Re: FCONSTANT specification
Date: Sun, 18 Oct 2026 09:40:08 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 58
Message-ID: <2026Oct18.114008@mips.complang.tuwien.ac.at>
References: <11aide4$1ibse$1@dont-email.me> <2026Oct12.203631@mips.complang.tuwien.ac.at> <11am4ae$fte4$1@dont-email.me> <nnd$6e3248f1$0599409a@3ae3c368d79558dd> <2026Oct14.102517@mips.complang.tuwien.ac.at> <6ad02ef0$1@news.ausics.net> <11as7ct$2voh4$1@dont-email.me> <6ad30b71$1@news.ausics.net>
Injection-Date: Sun, 18 Oct 2026 11:10:35 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1139617"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+hVCesI+uQ0E8Q+eYZFHoV"; posting-host="ba7b1f5472640d23e9d2e2c2f24e9c05"
Cancel-Lock: sha1:pai9A+w3pHSYui4Rl952Xneo+Os= sha256:0x47LcC1TAohFK+y9PbjI4wD5gnvjzy2eQra8kSbbAg=
	sha1:lUvZESYjvcmq6g/C43uSYhDaDUw= sha256:kg+QI2XyY7JQ/QHj5RWMbc+1aFgnfN6FGl6G+TjRZ5I=
X-newsreader: xrn 10.11