This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran] huge() vs IBM extended double
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: François-Xavier Coudert <fxcoudert at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Wed, 16 Nov 2005 06:53:08 +1030
- Subject: Re: [fortran] huge() vs IBM extended double
- References: <20050926032438.GA29044@bubble.grove.modra.org> <20050928074954.GM29044@bubble.grove.modra.org> <433A57AC.6040906@stanford.edu> <200509281104.11473.paul@codesourcery.com> <20051106032424.GI26395@bubble.grove.modra.org> <19c433eb0511150406i1d488295g580ff5fce03c5618@mail.gmail.com>
On Tue, Nov 15, 2005 at 01:06:30PM +0100, François-Xavier Coudert wrote:
> > + if (fmt->pnan < fmt->p)
> > + /* This is an IBM extended double format made up of two IEEE
> > + doubles.
>
> This test is also true for (and only for) mips_extended_double (see
> gcc/real.c for details). From my reading of gcc/real.c, it's not a
> problem, but I think it should be noted in the comment.
Indeed, we want to treat mips_extended_format exactly as for
ibm_extended_format. The formats only differ in minor ways.
--
Alan Modra
IBM OzLabs - Linux Technology Centre