This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]


On 2005-05-31 11:39:39 -0700, Mike Stump wrote:
> On May 31, 2005, at 10:25 AM, Vincent Lefevre wrote:
> >Well, there is no extended precision with GCC under Linux/PPC.
> 
> Hum, I do wonder about even that; why do:
> 
> 2004-02-07  Alan Modra  <amodra@bigpond.net.au>
> 
>         * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add darwin- 
> ldouble.c.
> 
> powerpc64-*-linux*)

Hmm... this is powerpc64. Under the 32-bit version, there's no
extended precision.

> >And according to
> >http://developer.apple.com/documentation/mac/PPCNumerics/ 
> >PPCNumerics-14.html
> >(found with Google), the PowerPC doesn't have hardware support
> >for extended precision.
> 
> I don't see the relevance, not to the question of can long double be  
> used under linux, nor even can long double be used under OSX, nor  
> long double on ppc.

This just explains why there's no extended precision on Linux/ppc.
You can use long double, but if you want to be portable enough,
your program must not require extended precision.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]