comp.lang.ada
 help / color / mirror / Atom feed
From: Reinert Korsnes <reinert.korsnes@chello.no>
Subject: Re: Problems with gcc, gnat and RedHat 8
Date: Fri, 11 Oct 2002 16:15:47 GMT
Date: 2002-10-11T16:15:47+00:00	[thread overview]
Message-ID: <TOCp9.1756$rw2.40575@news01.chello.no> (raw)
In-Reply-To: 7bc8e94c.0210110723.1f5509b9@posting.google.com

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




  reply	other threads:[~2002-10-11 16:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  9:14 Problems with gcc, gnat and RedHat 8 Reinert Korsnes
2002-10-11 12:14 ` arvids lemchens
2002-10-11 15:23 ` zhenggen
2002-10-11 16:15   ` Reinert Korsnes [this message]
2002-10-14  0:24     ` zhenggen
2002-10-12 10:57 ` Florian Weimer
2002-10-13 10:19   ` Simon Wright
replies disabled

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