comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Gnat/Windows float point Q
Date: Wed, 09 Apr 2003 08:30:06 GMT
Date: 2003-04-09T08:30:06+00:00	[thread overview]
Message-ID: <iSQka.118231$OV.219730@rwcrnsc54> (raw)
In-Reply-To: pan.2003.04.09.06.46.54.233699@Jay-Pee-eSs.net

>> What does it mean when float'image(x) = " 47.720649 0.E+05" ?
> Check X'Valid if the data comes from some route like Unchecked_Conversion.
In this case X comes from Ada.Numerics.Complex_Types.Abs(Y)
and Y came from Z**2, so it might well overflow.  Float'Machine_Overflows
is False, so I can't expect an exception, but is an overflowed value
on Gnat/Windows something that is always False in a compare, and
generates garbage for float'image?



  reply	other threads:[~2003-04-09  8:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 21:00 Gnat/Windows float point Q tmoran
2003-04-09  6:47 ` Eric G. Miller
2003-04-09  8:30   ` tmoran [this message]
2003-04-09 21:11     ` Randy Brukardt
2003-04-10  6:23       ` tmoran
2003-04-10 18:39         ` Randy Brukardt
2003-04-10 21:58           ` tmoran
2003-04-11  0:52             ` David C. Hoos, Sr.
2003-04-11  1:37               ` tmoran
2003-04-11  4:24                 ` Eric G. Miller
2003-04-11 19:11         ` Simon Wright
replies disabled

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