comp.lang.ada
 help / color / mirror / Atom feed
From: jim hopper <hopperj@macconnect.com>
Subject: Re: gcc 3.2.3 and trancendental functions
Date: Tue, 06 May 2003 01:43:06 GMT
Date: 2003-05-06T01:43:06+00:00	[thread overview]
Message-ID: <050520032134372707%hopperj@macconnect.com> (raw)
In-Reply-To: 3EB6A8DD.D67AF5F9@raytheon.com


Mark,

i don't have a support contract, they want to much money for my small
project.  :-( 

your supported 5.0 is i am sure far in advance of the 3.2 version
available with redhat.  i found reference to the problem and a proposed
fix, but the easiest fix would appear to be to just go to 3.3 which i
did and it does fix the problem, but it has other problems.

jim

In article <3EB6A8DD.D67AF5F9@raytheon.com>, Mark Johnson
<mark_h_johnson@raytheon.com> wrote:

> jim hopper wrote:
> > 
> > We have a problem.  we have a couple new linux boxes. one is red hat 8,
> > the other in 9.0.  when i try to run our radar sim it hangs.   finally
> > traced it down to a problem with sin/cos etc.  so i created a little
> > program that just calls cosine with 45"  (tried both degrees version
> > and radians.  the cos returns NAN. [attempts snipped]
> > 
> > Does anyone have any insight into why transendentals fail on gcc 3.2.3
> > compiler??
> 
> Hmm. I'm running with the new compiler and have not seen any problems
> like that. I tried both:
>   cos(45.0, 360.0);
> and
>   cos(pi*45.0/180.0);
> with a test program and both yield
>   7.07107E-01
> as expected.
> 
> This is with GNAT 5.00a (an ACT supported GCC 3 version) and Red Hat 7.3
> (w/ a custom 2.4.20 kernel). Unless your test program does something
> significantly different, I don't understand the problem. Perhaps you can
> post the test program?
> 
> It may be more dependent on the changes Red Hat put into the RH 9
> release. I know glibc has a number of significant changes - perhaps
> something there is a problem. You may also want to check Bugzilla at Red
> Hat to see if other people are having problems w/ numeric functions.
> 
> Another thought - when you built on RH 8 and moved it to RH 9, was the
> application built with the static libraries? If not, I suggest you try
> that as well.
> 
>   --Mark



      reply	other threads:[~2003-05-06  1:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-03 13:06 gcc 3.2.3 and trancendental functions jim hopper
2003-05-03 14:07 ` Samuel Tardieu
2003-05-03 14:40 ` Jeffrey Creem
2003-05-06  1:41   ` jim hopper
2003-05-05 18:09 ` Mark Johnson
2003-05-06  1:43   ` jim hopper [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox