This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000 LDBL_MAX converts to infinity
- From: Geoff Keating <geoffk at desire dot geoffk dot org>
- To: amodra at bigpond dot net dot au
- Cc: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com, rsandifo at redhat dot com
- Date: Wed, 3 Mar 2004 13:53:09 -0800
- Subject: Re: rs6000 LDBL_MAX converts to infinity
- References: <20040303011040.GA2553@bubble.modra.org>
Hi Alan, All,
I believe that the answer to this particular one is to change
LDBL_MAX; it should always be the case that the high part is the sum
of the high and low parts in round-to-nearest mode. It's true that
you could theoretically represent more numbers by complicating this
rule but this doesn't seem very useful and it would make the runtime
implementation larger (and perhaps slower).
I have a number of open bug reports here at Apple including a complete
re-implementation of the support routines from our numerics group
("sorry for not giving you this version first").
--
- Geoffrey Keating <geoffk@geoffk.org>