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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f1a99299e465c053 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews2.google.com!not-for-mail From: gautier_niouzes@hotmail.com (Gautier) Newsgroups: comp.lang.ada Subject: Re: Erroneous results with LOG function when using inline option (-gnatN) Date: 4 Aug 2004 05:46:57 -0700 Organization: http://groups.google.com Message-ID: <17cd177c.0408040446.5916eb64@posting.google.com> References: <9c9fb8b4.0408030820.720a57cb@posting.google.com> NNTP-Posting-Host: 213.173.163.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1091623618 6603 127.0.0.1 (4 Aug 2004 12:46:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 4 Aug 2004 12:46:58 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2531 Date: 2004-08-04T05:46:57-07:00 List-Id: Fr�d�ric Ormancey: > Hello, > > When compiling a simple program using Log function, instance from > Ada.Numerics.Generic_Elementary_Functions, I had an erroneous result > when using -gnatN option ( INLINE ). I had the same problem with GNAT 3.15p for Win32 (tested on Win 9x and Win 2K/XP), that for the Sqrt function: result 0. I sent a bug report to report (_at_) gnat_._com and the reply was that this is a compiler bug, corrected in more recent versions. So I just wouldn't use -gnatN with GNAT 3.15p. NB: -gnatn is working fine. HTH ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!