comp.lang.ada
 help / color / mirror / Atom feed
From: gwinn@res.ray.com (Joe Gwinn)
Subject: Re: fixed point vs floating point
Date: 1997/12/03
Date: 1997-12-03T00:00:00+00:00	[thread overview]
Message-ID: <gwinn-0312972032580001@dh5055115.res.ray.com> (raw)
In-Reply-To: 3484D37E.E68@nospam.flash.net


In article <3484D37E.E68@nospam.flash.net>,
Ken.Garlington@nospam.computer.org wrote:

> Joe Gwinn wrote:
> > 
> > Portability is less important than workability.  And, we were always
assured that use
> > of Ada guaranteed portability.  Apparently that was a lie; we also need to
> > be Ada experts to achieve portability?  Just like all other languages?
> 
> In my experience - absolutely. If you assume that X is portable just
> because it happens to work when processed with a particular vendor's 
> implementation of X, you are probably going to be disappointed.

Yep.  Absolutely.  I think I made just this point three or four times, but
it's become hard to follow.

In truth, I was just twisting Robert's tail.  With great success, too. 
Snapped the hook right out of my hands.  He didn't catch the irony at all,
answering with yards of riposte text.   After all that abuse, it was time
to give as well as to get.


> (Just to save you grief in the future, feel free to plug in any of the
> following for
> X: Ada, C++, Java, POSIX, CORBA, etc.)

Yep.  Don't forget fortran and assembly, or COBOL.


> > Well, you are obsessing on the fact that I don't recall ten years later
> > all the details of how to do fixed point arithmetic in Ada83, which we
> > never used except to test.  And, you are proving my basic point, that with
> > all that user-supplied information, Ada83 should be able to handle fixed
> > point arithmetic.  This is just some added information, clearly not
> > absolutely required information, because Ada95 no longer always requires
> > it.
> 
> Ada no longer requires it for trivial cases. For many intermediate
> calculations
> of this type, you still have to explicitly specify the resulting type.

The original point of departure was my comment that the die was cast in
the bad old days of Ada83 compilers that didn't handle fixed point
arithmetic well enough for the ordinary programmers to use without greater
difficulty and danger than they were willing to undertake.  Perhaps, if
they were only smarter, or in less of a hurry, or better educated, they
would have seen the error of their ways.  Sadly, it was not to be.  Thus
have many technologies died.

Now, with floating point hardware almost universal, the issue is moot.


> > And, I really don't see why it's necessary to deny the failings of
> > compilers that have been obsolete for at least a decade, for a now
> > superceeded language.  Surely we can find something more current and
> > relevant to worry about, to argue about.
> 
> I'm confused. If the behavior you described is not relavant, why did you
> bring it up?

Because Robert attacked me simply for saying that there was a problem back
then.  My point here is that I don't know why he cared that much about
such an ancient issue.  Never mind the now fuzzy details.  It very much
has the flavor of refighting yesterday's war.  Tiresome, and quite
pointless.  

It's not that we can't find something current to argue about, one where
the outcome could have a material effect on something.


Joe Gwinn




  reply	other threads:[~1997-12-03  0:00 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-02  0:00 fixed point vs floating point Robert Dewar
1997-12-02  0:00 ` Joe Gwinn
1997-12-02  0:00   ` Robert Dewar
1997-12-02  0:00     ` Matthew Heaney
1997-12-03  0:00       ` Robert Dewar
1997-12-03  0:00     ` robin
1997-12-03  0:00       ` Robert Dewar
1997-12-03  0:00     ` Shmuel (Seymour J.) Metz
1997-12-03  0:00       ` Robert Dewar
1997-12-03  0:00       ` Matthew Heaney
1997-12-04  0:00         ` Shmuel (Seymour J.) Metz
1997-12-04  0:00           ` Robert Dewar
1997-12-03  0:00       ` Robert Dewar
1997-12-02  0:00   ` Ken Garlington
1997-12-03  0:00     ` Joe Gwinn [this message]
1997-12-04  0:00       ` Robert Dewar
1997-12-04  0:00         ` Shmuel (Seymour J.) Metz
1997-12-03  0:00 ` robin
  -- strict thread matches above, loose matches on Subject: below --
2011-09-29 10:25 RasikaSrinivasan@gmail.com
2011-09-29 10:49 ` AdaMagica
2011-09-29 13:38   ` Martin
2011-09-30 10:17 ` Stephen Leake
2011-09-30 16:25   ` tmoran
2011-09-30 16:52     ` Dmitry A. Kazakov
2011-10-01 11:09     ` Stephen Leake
2011-09-30 19:26   ` tmoran
2011-09-30 22:31   ` tmoran
2011-10-01 13:37   ` RasikaSrinivasan@gmail.com
2011-10-02 14:19     ` Stephen Leake
1997-11-28  0:00 tmoran
1997-11-28  0:00 ` Robert Dewar
1997-11-27  0:00 tmoran
1997-11-27  0:00 ` Robert Dewar
1997-11-29  0:00   ` Tarjei T. Jensen
1997-11-22  0:00 Matthew Heaney
1997-11-22  0:00 ` Tucker Taft
1997-11-22  0:00   ` Robert Dewar
1997-11-22  0:00     ` Matthew Heaney
1997-11-23  0:00 ` Geert Bosch
1997-11-23  0:00   ` Tom Moran
1997-11-25  0:00     ` John A. Limpert
1997-11-25  0:00       ` Robert Dewar
1997-11-25  0:00       ` Robert Dewar
1997-11-23  0:00   ` Matthew Heaney
1997-11-23  0:00     ` Robert Dewar
1997-11-24  0:00       ` Herman Rubin
1997-11-24  0:00         ` Robert Dewar
1997-11-25  0:00           ` Joe Gwinn
1997-11-25  0:00             ` Robert Dewar
1997-11-25  0:00               ` Joe Gwinn
1997-11-25  0:00                 ` Robert Dewar
1997-11-26  0:00                   ` Joe Gwinn
1997-11-26  0:00                     ` Robert Dewar
1997-12-01  0:00                       ` Joe Gwinn
1997-12-01  0:00                         ` Robert Dewar
1997-12-01  0:00                           ` Joe Gwinn
1997-12-03  0:00                           ` robin
1997-11-25  0:00             ` Matthew Heaney
1997-11-26  0:00             ` William A Whitaker
1997-11-24  0:00     ` Geert Bosch
1997-11-24  0:00 ` Vince Del Vecchio
1997-11-24  0:00 ` Vince Del Vecchio
1997-12-03  0:00 ` robin
     [not found] <9711221603.AA03295@nile.gnat.com>
1997-11-22  0:00 ` Ken Garlington
replies disabled

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