comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: I think - it's a bug...
Date: 11 Mar 2002 11:13:29 -0500
Date: 2002-03-11T16:18:54+00:00	[thread overview]
Message-ID: <u7kojt74m.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3C8C41A8.B5D96800@yahoo.com

Anatoly Chernyshev <rhezusfactor@yahoo.com> writes:

> That's true, but still, why inserting of "put_line (float'image(1.0-(z/b)));"
> influences the behaviour of the program so much.
> Beyound that, I've got similar things with z=0.1 and 0.25. They were solved
> though, by using different optomization levels (-O, -O2...).

Since that is the _only_ place you have Text_IO, if you leave out the
"put_line", Text_IO is not linked in. Then you don't need the
Microsoft runtime library. The Microsoft runtime library sets the FPU
to the "wrong" mode. If you Use GNAT.Float_Control.Reset, the presence
of "put_line" will no longer matter.

-- 
-- Stephe



  parent reply	other threads:[~2002-03-11 16:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-10  8:24 I think - it's a bug Anatoly Chernyshev
2002-03-10 12:58 ` David C. Hoos, Sr.
2002-03-11  5:33   ` Anatoly Chernyshev
2002-03-11 13:43     ` David C. Hoos
2002-03-11 16:13     ` Stephen Leake [this message]
2002-03-11  5:39   ` Jeffrey Carter
2002-03-11 14:53   ` Wes Groleau
2002-03-11 15:15     ` David C. Hoos
2002-03-11  5:32 ` Jeffrey Carter
2002-03-11  5:46   ` Anatoly Chernyshev
2002-03-11  8:19 ` Phil Thornley
2002-03-11 19:48 ` Anatoly Chernyshev
replies disabled

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