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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-09 01:30:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsgate.duke.edu!newsfeed.mathworks.com!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Gnat/Windows float point Q References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1049877006 12.234.13.56 (Wed, 09 Apr 2003 08:30:06 GMT) NNTP-Posting-Date: Wed, 09 Apr 2003 08:30:06 GMT Organization: AT&T Broadband Date: Wed, 09 Apr 2003 08:30:06 GMT Xref: archiver1.google.com comp.lang.ada:36009 Date: 2003-04-09T08:30:06+00:00 List-Id: >> 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?