In article <cjemsl$84d$>
(Dan Pop) writes:
> In <> "Dik T. Winter" <> writes:
>
> >In article <cjeeh1$b00$> (Dan Pop) writes:
> >...
> > > Before IEEE 754, typical floating point representations had no invalid
> > > bit patterns. A single rule was used for interpreting any bit pattern
> > > (with the possible exception of all bits 0, which could be interpreted
> > > as an exact representation of 0.0, regardless of the rule).
> >
> >What were typical floating point representations? I know that the
> >CDC Cyber, Cray 1, Vax and Gould all had a floating point bit pattern
> >that would never be generated by a valid operation, except perhaps on
> >overflow or things like that.
>
> I'm not aware of any bit pattern that wouldn't represent a valid value for
> the IBM 360, PDP-11 and the VAX. Ditto for certain representations used
> on systems with no floating point hardware support.
Note that I wrote "not generated", not "invalid". In IEEE there are also
no invalid bitpatterns. But whatever, from the PDP11/04/34/45/55/60
processor hndbook, 1978-1979, DEC 1978, page 250 (also valid for the VAX):
"The Undefined Variable
The undefined variable is any bit pattern with a sign bit of one and a
biased exponent of zero. The term undefined variable is used to
indicate that these bit patterns are not assigned a corresponding
floating point arithmetic value. An undefined variable is frequently
referred to as '-0' elsewhere in this chapter."
I do not have an IBM POP, but I think it will also generate only one
form of zero as the result of an operation, so that machine has also
many bit patterns that are not generated and can be used to indicate
an undefined variable. And I think that most software implementations
also represent 0.0 in a single way out of the many choices. Actually
I do only know two machines that have *no* pattern that cannot be
generated. One is the Electrologica X8 that prefers to generate -0.0,
but on occasion generates +0.0, and an old ICL machine that had no
representation for 0.0 (also a joy of course).
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland;
http://www.cwi.nl/~dik/