From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,64012d256cd76a8d,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-08 14:00:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Gnat/Windows float point Q X-Newsreader: Tom's custom newsreader Message-ID: <1MGka.57623$ug3.113346@rwcrnsc51.ops.asp.att.net> NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1049835645 12.234.13.56 (Tue, 08 Apr 2003 21:00:45 GMT) NNTP-Posting-Date: Tue, 08 Apr 2003 21:00:45 GMT Organization: AT&T Broadband Date: Tue, 08 Apr 2003 21:00:45 GMT Xref: archiver1.google.com comp.lang.ada:36002 Date: 2003-04-08T21:00:45+00:00 List-Id: 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;