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,d26c6b989a75af31 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-11 09:15:50 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.bredband.com!bredband!news01.chello.se!news01.chello.no!not-for-mail From: Reinert Korsnes Subject: Re: Problems with gcc, gnat and RedHat 8 Newsgroups: comp.lang.ada References: <7bc8e94c.0210110723.1f5509b9@posting.google.com> User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: Date: Fri, 11 Oct 2002 16:15:47 GMT NNTP-Posting-Host: 213.93.255.88 X-Complaints-To: abuse@chello.no X-Trace: news01.chello.no 1034352947 213.93.255.88 (Fri, 11 Oct 2002 18:15:47 MET DST) NNTP-Posting-Date: Fri, 11 Oct 2002 18:15:47 MET DST Organization: chello broadband Norway X-Received-Date: Fri, 11 Oct 2002 18:15:47 MET DST (news01.chello.no) Xref: archiver1.google.com comp.lang.ada:29723 Date: 2002-10-11T16:15:47+00:00 List-Id: zhenggen wrote: >> ** sin(x) > 1 ? >> ** What I do wrong here ? Or something wrong in RH8's Ada ? >> >> reinert > > I have met the same problem. After a careful examination I found that > it maybe caused by the implementation of a-numaux.adb. In early > version of gnat(say 3.13p), there is no such a file. Spec file > a-numaux.ads declares and imports all math functions from C > library(libmath.a). In GCC 3.2,however, a-numaux.adb is provided and > the functions like sin and cos are implemented using inlined FPU asm > instruction of x86 CPU! There is a bug report about this problem in > gcc bug report database. One can work around it by importing these > functions from C math library. How ? reinert