comp.lang.ada
 help / color / mirror / Atom feed
From: Nicolas Brunot <n.brunot@cadwin.com>
Subject: Re: Float_text_io.put (10.0) -> 0.0 !
Date: 2000/03/28
Date: 2000-03-28T00:00:00+00:00	[thread overview]
Message-ID: <38E07244.B84A3564@cadwin.com> (raw)
In-Reply-To: 8bos7t$7ed$1@nnrp1.deja.com

Does it mean that in gnat 3.13 , ADA code will have to include a
resetting call before each float_text_io.put,
or will this be done automatically by the compiler ?
What about other function or procedure using floating point chip ?
(simple "*" or "/"  for example)
After test the problem occurs with gnat 3.12p, but not with Aonix
ObjectAda 7.1 for example, so not every
program using floating point chip is affected by this problem.

Nicolas BRUNOT

Robert Dewar a �crit:

> In article <mrGD4.2899$MJ7.9884763@nnrp4.proxad.net>,
>   "J�r�me Haguet" <j.haguet@cadwin.com> wrote:
> > Hello
> > Does anybody know why the following code give on SOME PCs (not
> all) the
> > following outpout :
>
> Yes, this is a known problem, it has to do with third party
> software leaving the floating-point chip in incorrect state.
> The new 3.13 version of GNAT provides library routines for
> resetting the state.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.





      reply	other threads:[~2000-03-28  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-27  0:00 Float_text_io.put (10.0) -> 0.0 ! J�r�me Haguet
2000-03-27  0:00 ` Florian Weimer
2000-03-27  0:00 ` Robert Dewar
2000-03-28  0:00   ` Nicolas Brunot [this message]
replies disabled

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