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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d09fa6592c24a21 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-11 06:53:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3C8CC4EE.2CF4038E@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: I think - it's a bug... References: <3C8B184D.49214059@yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 11 Mar 2002 09:53:34 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1015858434 151.168.144.162 (Mon, 11 Mar 2002 08:53:54 CST) NNTP-Posting-Date: Mon, 11 Mar 2002 08:53:54 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:21052 Date: 2002-03-11T09:53:34-05:00 List-Id: > This is not a bug. The problem comes about by not being aware of > the nature of floating point representation in computers. Unless I misunderstood the original post, there IS a bug. If commenting out this > > put_line (float'image(1.0-(z/b))); causes this to stop raising an exception > > rr:=-a*sqrt((1.0-(z/b)**2))+a+r; then I think there must be a bug in the optimizer. But it should be sent to report@gnat.com and not to comp.lang.ada -- Wes Groleau http://freepages.rootsweb.com/~wgroleau