From: tmoran@acm.org
Subject: Gnat/Windows float point Q
Date: Tue, 08 Apr 2003 21:00:45 GMT
Date: 2003-04-08T21:00:45+00:00 [thread overview]
Message-ID: <1MGka.57623$ug3.113346@rwcrnsc51.ops.asp.att.net> (raw)
What does it mean when float'image(x) = " 47.720649 0.E+05" ?
???
Is x a NAN or something? It causes a Constraint_Error in
the "return x" statement in:
subtype units is float range 0.0 .. 1.0;
function clip(x: float) return units is
begin
if x < 0.0 then return 0.0;
elsif x > 1.0 then return 1.0;
else return x;
end if;
end clip;
next reply other threads:[~2003-04-08 21:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 21:00 tmoran [this message]
2003-04-09 6:47 ` Gnat/Windows float point Q Eric G. Miller
2003-04-09 8:30 ` tmoran
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