* Cos and Sin broken in gcc-gnat 3.2 ?
@ 2003-03-16 16:56 Preben Randhol
2003-03-16 17:09 ` Preben Randhol
0 siblings, 1 reply; 3+ messages in thread
From: Preben Randhol @ 2003-03-16 16:56 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cos and Sin broken in gcc-gnat 3.2 ?
2003-03-16 16:56 Cos and Sin broken in gcc-gnat 3.2 ? Preben Randhol
@ 2003-03-16 17:09 ` Preben Randhol
2003-03-16 18:06 ` chris.danx
0 siblings, 1 reply; 3+ messages in thread
From: Preben Randhol @ 2003-03-16 17:09 UTC (permalink / raw)
Preben Randhol wrote:
> 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
I was a bit unclear here. You need gcc-gnat 3.2 to compile GtkAda 2.0 so
I upgraded the compiler to 3.2
Preben
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cos and Sin broken in gcc-gnat 3.2 ?
2003-03-16 17:09 ` Preben Randhol
@ 2003-03-16 18:06 ` chris.danx
0 siblings, 0 replies; 3+ messages in thread
From: chris.danx @ 2003-03-16 18:06 UTC (permalink / raw)
Preben Randhol wrote:
> Preben Randhol wrote:
>
>>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
>
>
> I was a bit unclear here. You need gcc-gnat 3.2 to compile GtkAda 2.0 so
> I upgraded the compiler to 3.2
Dunno if this is fixed in 3.3x but the CVS 3.3x is a much better
compiler than 3.2 *for* Ada. ACT did a "big merge" after the 3.2
release as AFAIK they haven't backported changes to 3.2 (which will soon
be superceded by 3.3 - maybe they felt that back porting wasn't worth it
given the frequency of gcc release).
Don't quote me on that btw!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-16 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-16 16:56 Cos and Sin broken in gcc-gnat 3.2 ? Preben Randhol
2003-03-16 17:09 ` Preben Randhol
2003-03-16 18:06 ` chris.danx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox