Re: Gentler Decimal Floating-Point
- From: nmm1@xxxxxxxxxxxxx (Nick Maclaren)
- Date: 31 Mar 2007 08:08:21 GMT
In article <eul33f$p4v$1$8300dec7@xxxxxxxxxxxxxxxx>,
"Mike Cowlishaw" <mfc@xxxxxxxxxx> writes:
|> >> PL/I's 'float decimal' (always allowed to be in lower case :-)) was
|> >
|> > I am pretty sure that PL/I(F), like all OS/360 compilers, requires
|> > upper case. I do remember putting lower case comments in, though.
|>
|> Yes, you're correct .. I meant today it's always allowed. Lowercase was
|> introduced with the Optimiser & Checker PL/I compilers. They came in in the
|> early/mid 1970s, so I doubt the F compiler is used much nowadays.
I doubt it VERY much! While it implemented quite a different language,
and so might linger on, support was dropped as soon as the Checkout
and (later) Optimizer stabilised, and it was not binary compatible
with those. By 1990, most people in Santa Teresa didn't even know that
it had ever existed!
|> No, this was around the time of the Checker and Optimiser, 1971. I was a
|> pre-uni student at the time, working on testing the compilers with a 'monkey
|> program' which generated syntactically and semantically valid 'random' PL/I
|> programs. But I remember the arguments about implementing decimal float
|> using binary (actually hex) floating-point, because I was designing my
|> second language at the time (I still have the 2500 cards that are the
|> compiler, which was written in PL/I), and I wanted to use a decimal numeric
|> system as it was intended for teaching programming at my old school...
Interesting. I can remember the debate from the customer side, where
we assumed that it had been added to the language as a bright idea by
someone with more seniority than numerical experience. It was very
clear that all of the requirements were much better met by the fixed
decimal types - let's exclude PL/I's problems with them, as they are
an artifact of PL/I not the arithmetic.
To be blunt, nobody wanted it. The commercial programmers wanted
decimal fixed-point, and numerical ones either wanted floating-point
in any sane base (i.e. any of 2-c.16) or binary floating-point. Of
course, both of the latter wanted rounding, but that is another story :-)
Regards,
Nick Maclaren.
.
- Follow-Ups:
- Re: Gentler Decimal Floating-Point
- From: Mike Cowlishaw
- Re: Gentler Decimal Floating-Point
- From: glen herrmannsfeldt
- Re: Gentler Decimal Floating-Point
- References:
- Gentler Decimal Floating-Point
- From: Quadibloc
- Re: Gentler Decimal Floating-Point
- From: glen herrmannsfeldt
- Re: Gentler Decimal Floating-Point
- From: Nick Maclaren
- Re: Gentler Decimal Floating-Point
- From: Mike Cowlishaw
- Re: Gentler Decimal Floating-Point
- From: Quadibloc
- Re: Gentler Decimal Floating-Point
- From: Mike Cowlishaw
- Re: Gentler Decimal Floating-Point
- From: Quadibloc
- Re: Gentler Decimal Floating-Point
- From: Nick Maclaren
- Re: Gentler Decimal Floating-Point
- From: Quadibloc
- Re: Gentler Decimal Floating-Point
- From: glen herrmannsfeldt
- Gentler Decimal Floating-Point
- Prev by Date: Re: Gentler Decimal Floating-Point
- Next by Date: Re: Gentler Decimal Floating-Point
- Previous by thread: Re: Gentler Decimal Floating-Point
- Next by thread: Re: Gentler Decimal Floating-Point
- Index(es):
Relevant Pages
|
|