comp.lang.ada
 help / color / mirror / Atom feed
From: Clayton Weaver <cgweav@eskimo.com>
Subject: Re: IEEE fp & Java
Date: 1996/12/02
Date: 1996-12-02T00:00:00+00:00	[thread overview]
Message-ID: <Pine.SUN.3.95.961202015240.14089B-100000@eskimo.com> (raw)
In-Reply-To: dewar.849366601@merv


On 30 Nov 1996, Robert Dewar wrote:

[snip]
> Bob wonders if Java will be the final nail in the coffin for "weird"
> machines?
 
> The trouble is that when you pin down the semantics as far as Java has,
> then a lot of machines become weird.
 
> For example, all DEC Alpha's and the high end MIPS chip (R10000) are both
> weird by this definition, because they do not quite implement the whole of
> the IEEE floating-point standard. If you are serious about Java requiring
> strict adherence to the IEEE standard, then it will be impossible in either
> of these cases to provide this strict adherence without a huge loss of
> efficiency (just try running your favorite Fortran codes on a DEC Alpha
> in strict IEEE mode, and you will see what I mean). 
 
> Now, it is certainly trivially easy when designing a language to make a
> statement that FPT will be exactly IEEE 754, and then congratulate 
> yourself for doing such a splendid job of portability design, but if
> what you have achieved is a design that does not run correctly on the
> machines that people think of as being appropriate for high end fpt
> calculations (Sun is not a big player in this market), then perhaps you
> have not done such a great job after all.
 
> You have to know a LOT to avoid such mistakes. My guess is that the folks
> at Sun who specified IEEE floating-point were simply unaware of the
> consequences (it is possible that this was a subtle way of designing a
> language more amenable to Sun than to SGI or DEC, but I doubt it was
> well enough informed to have been so clever :-)
 
Wasn't there a long cross-posted thread back in winter '93-'94 about an
ambiguity in the IEEE fp standard that left parts of the standard
implementation-defined re: rounding intermediate results? I don't recall
the details, perhaps someone else reading here does. Was that ambiguity
a factor in the Alpha and Mips fp designs?

[etc]

Regards, Clayton Weaver  cgweav@eskimo.com  (Seattle)









  parent reply	other threads:[~1996-12-02  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-27  0:00 Warning: Flame Bait Paul Whittington
1996-11-29  0:00 ` Robert A Duff
1996-11-29  0:00   ` Robert Dewar
1996-11-30  0:00     ` Robert A Duff
1996-11-30  0:00       ` Robert Dewar
1996-12-01  0:00         ` Robert A Duff
1996-12-01  0:00           ` Robert Dewar
1996-12-02  0:00         ` Clayton Weaver [this message]
1996-12-02  0:00           ` IEEE fp & Java Robert Dewar
1996-12-09  0:00           ` Fergus Henderson
1996-11-30  0:00       ` Warning: Flame Bait Larry Kilgallen
1996-12-01  0:00     ` Tom Robinson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox