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,c6e1fcc6bea0ee32,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-16 08:56:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Cos and Sin broken in gcc-gnat 3.2 ? Date: Sun, 16 Mar 2003 16:56:27 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1047833787 20271 129.241.83.78 (16 Mar 2003 16:56:27 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sun, 16 Mar 2003 16:56:27 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:35383 Date: 2003-03-16T16:56:27+00:00 List-Id: My small program Klokka works with no problem with Gnat 3.14p and GtkAda 1.2. I wanted to see if it worked with GtkAda 2.0 as well. It seems to work except that the handles won't be painted correctly. After some debugging I found out that whatever value I give to a Cosinus function I get back a 6.72421E-4932. package Math is new Ada.Numerics.Generic_Elementary_Functions (Float_Type => Float); I have defined my Math package like this. Can anybody verify weather the Cosinus and Sinus functions work in gcc-gnat 3.2 or if it has a error in them. I'm using Debian Linux so there might be an error in the build of the gcc-gnat 3.2 as well. Thanks in advance. Preben PS: If you want to test the program with gcc-gnat 3.2 and GtkAda 1.2 it can be found here: http://www.pvv.org/~randhol/Ada95/Klokka/