comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Floating point problem
Date: 1997/04/02
Date: 1997-04-02T00:00:00+00:00	[thread overview]
Message-ID: <dewar.859986711@merv> (raw)
In-Reply-To: 1997Apr1.194617.1@eisner


<<> I'm not a compiler vendor, but I note in the Janus manual that the
> default is to assume no FPU - you need to set a compilation option "on"
> to generate direct FPU codes.  I also seem to recall that Aonix (at
> least with ActivAda and I think with ObjectAda) has a compiler option.>>

ObjectAda certainly *should* have such an option, since I wrote the 
floating-point emulation package for Alsys, for both the 286 and 386,
back in the days when there were real customers around with machines
that lacked floating-point.

If GNAT were that old, it undoubtedly would have the option too. Generally
I would expect all Ada 83 vintage technologies to have this capability,
because once upon a time, PC's with no floating-point were quite common.

In fact one of the most amusing revision requests was one that specifically
suggested that Ada 9X have a language feature that would ensure that
programs would operate correctly on a machine with no floating-point
coprocessor (it was worded exactly that way :-0)

I actually find it surprising that no one has investigated what would bne
needed to get this working on DJGPP (that is really all we are talking about
here, most of the other operating systems for the PC eiher require FPT
themselves, or supply transparent emulation -- so we are only talking about
running obsolete operating systems on obsolete machines). Still with all
the talk, you would think that someone would have figured out how to do
this -- can't be that difficult. 

Despite Larry's focus on a dynamic test to ensure the program not running,
I think that what most people with these old machines around would like is
for GNAT to be able to correctly execute floating-point stuff. Since there
are lots of emulators around, and indeed I ythought DJGPP came with one,
but perhaps not, it seems more useful to put in the work to get this
working rather than diagnose when it does not.





  reply	other threads:[~1997-04-02  0:00 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-27  0:00 Floating point problem Kees de Lezenne Coulande
1997-03-28  0:00 ` Robert Dewar
1997-03-28  0:00   ` Larry Kilgallen
1997-03-28  0:00     ` Robert Dewar
1997-03-29  0:00       ` Tom Moran
1997-03-30  0:00         ` Larry Kilgallen
1997-03-31  0:00           ` Robert Dewar
1997-04-01  0:00             ` Larry Kilgallen
1997-04-01  0:00               ` Tom Moran
1997-04-02  0:00                 ` Larry Kilgallen
1997-04-02  0:00                   ` Robert Dewar [this message]
1997-04-03  0:00                     ` Jerry van Dijk
1997-04-03  0:00                       ` Jerry van Dijk
1997-04-03  0:00                         ` Jerry van Dijk
1997-04-02  0:00               ` Robert Dewar
1997-03-31  0:00         ` Robert Dewar
1997-03-31  0:00           ` Tom Moran
1997-03-31  0:00             ` Robert Dewar
1997-03-28  0:00     ` Tom Moran
1997-03-28  0:00 ` J-P. Rosen
1997-03-28  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1997-02-26  0:00 floating " bill
1997-03-02  0:00 ` Corbin Dunn
1997-03-02  0:00   ` tmel
1997-03-02  0:00     ` Robert Dewar
1997-03-03  0:00 ` Kenneth W. Sodemann
1997-03-04  0:00   ` Robert Dewar
1997-03-05  0:00     ` Larry Kilgallen
1997-03-05  0:00       ` Robert Dewar
1997-03-06  0:00         ` Larry Kilgallen
1997-03-09  0:00           ` Robert Dewar
1997-03-10  0:00             ` Fergus Henderson
1997-03-10  0:00               ` Robert Dewar
1997-03-10  0:00                 ` Larry Kilgallen
1997-03-12  0:00                   ` Robert Dewar
1997-03-12  0:00                     ` Joel VanLaven
1997-03-12  0:00                       ` Robert Dewar
1997-03-12  0:00                     ` Larry Kilgallen
1997-03-13  0:00                       ` Robert Dewar
1997-03-14  0:00                         ` Larry Kilgallen
1997-03-15  0:00                           ` Robert Dewar
1997-03-13  0:00                     ` Kenneth W. Sodemann
1997-03-15  0:00                       ` Robert Dewar
1997-03-16  0:00                         ` Larry Kilgallen
1997-03-06  0:00     ` Geert Bosch
1997-03-06  0:00       ` Robert Dewar
1997-03-06  0:00       ` Fergus Henderson
1997-03-06  0:00         ` Scott Ingram
1997-03-17  0:00   ` Robert I. Eachus
1997-03-17  0:00     ` Robert Dewar
1997-03-17  0:00   ` Tom Moran
1997-03-18  0:00   ` Robert I. Eachus
replies disabled

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