comp.lang.ada
 help / color / mirror / Atom feed
From: stuffle@pcii.net (Kenneth W. Sodemann)
Subject: Re: floating point problem
Date: 1997/03/03
Date: 1997-03-03T00:00:00+00:00	[thread overview]
Message-ID: <331ace4d.1427558395@news.mwci.net> (raw)
In-Reply-To: 5f0faa$6ok@mtinsc04.worldnet.att.net


On Wed, 26 Feb 97 04:52:24 GMT, rawlins2@marshall.edu (bill) wrote:

[snip]
>I don't understand the error that occurs except to say that my screen is 
>spammed to death by comments that say something like..
>
>
>c:\usr\local\lib\gcc-lib\i386-pc-cygwin32\2.7.2\gnat1.exe frame 15 : sp = 
>0x276f360, pc = 0x5bc5b4
>end of stack trace,  more stack frames may be present.
>
>
>the code i used to produce this fault was
>
>with ada.float_text_io;
>procedure floattest is
>x: float;
>begin
>x := 3.2 + 4.8;
>ada.float_text_io.put (x);
>end floattest;
>

Code looks valid.

>obviously very simple so anyone have any ideas why i can't use the floating 
>point?
>
>does it matter that my system is only a 486sx2/66 ?
                                            ^^

The SX designation on a 486 means that your math co-processor (IOW,
floating point unit) is disabled.  Therefore, any program you right to
use floating point will have to use an floating point emulation
library to do the math.  Maybe GNAT has some kind of a problem with
this.  See if there is a compiler switch to turn FP emulation on/off,
and turn it on if it exists.

>thanks in advance.

Just a shot in the dark, but it is worth a try.


--
Ken Sodemann
stuffle@pcii.net
http://users.mwci.net/~stuffle




  parent reply	other threads:[~1997-03-03  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 [this message]
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   ` 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
  -- strict thread matches above, loose matches on Subject: below --
1997-03-27  0:00 Floating " Kees de Lezenne Coulande
1997-03-28  0:00 ` Robert Dewar
1997-03-28  0:00   ` Larry Kilgallen
1997-03-28  0:00     ` Tom Moran
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 ` J-P. Rosen
1997-03-28  0:00   ` Robert Dewar
replies disabled

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