comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: floating point problem
Date: 1997/03/17
Date: 1997-03-17T00:00:00+00:00	[thread overview]
Message-ID: <EACHUS.97Mar17113255@spectre.mitre.org> (raw)
In-Reply-To: 331ace4d.1427558395@news.mwci.net



   Robert Dewar said:

   > Sure there are tons of such machines, but for serious development work,
   > which is what GNAT is intended for, it is silly to use an ancient 386

In article <1997Mar16.113256.1@eisner> kilgallen@eisner.decus.org (Larry Kilgallen) writes:

   > That is too bad.  I had hoped GNAT might be useful for deployment.
   > Just to make sure we are on the same wavelength, my concern is
   > entirely with what happens at runtime with generated programs.
   > For running the compiler I can buy (actually already have) some
   > appropriate machines.

   Ah, I see the confusion.  If you want programs that will run on
"any" PC, you need to avoid the use of floating point in your
programs.  (And to test on a 386 with no FPU, just to check.)  The
GNAT compiler itself uses floating point, in some cases even when your
program doesn't, so you need to develop on an FP equipped machine.
(And the random number generator is one library package which uses
float, even if your program doesn't explicitly.  Any others?)

   Now for some value added.  Several years ago for a procurement, we
went looking for Ada (83) compilers that could be validated on PCs
without an FPU.  We couldn't find one, we couldn't find a compiler
vendor willing to build and sell one, and we couldn't even find a
compiler which ran on a machine with an FPU and produced validatable
code for a non-FPU machine.  This was back when the 286 and 386 were
the "standard" CPU chips.

    However, in the machines which used Motorola 680x0 chips, all
machines/compilers seemed to support emulation of the FPU if not
present.  In fact some compilers gave you a choice between non-IEEE
(and therefore non-hardware) floating-point libraries, and those which
relied on IEEE hardware support, but ran much slower if the emulator
was invoked.
--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...




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

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-26  0:00 floating point problem 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                     ` 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-12  0:00                     ` Joel VanLaven
1997-03-12  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   ` Tom Moran
1997-03-17  0:00   ` Robert I. Eachus [this message]
1997-03-17  0:00     ` Robert Dewar
1997-03-18  0:00   ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1997-03-27  0:00 Floating " Kees de Lezenne Coulande
1997-03-28  0:00 ` J-P. Rosen
1997-03-28  0:00   ` Robert Dewar
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
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
replies disabled

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