This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran,ping] support for large kinds in front-end and library
- From: Richard Henderson <rth at redhat dot com>
- To: Feng Wang <wf_cs at yahoo dot com>
- Cc: Steven Bosscher <stevenb at novell dot com>, fortran at gcc dot gnu dot org, FX Coudert <fxcoudert at gmail dot com>, patch <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 3 Aug 2005 20:55:14 -0700
- Subject: Re: [gfortran,ping] support for large kinds in front-end and library
- References: <20050804034100.GA18262@redhat.com> <20050804035140.95593.qmail@web15601.mail.cnb.yahoo.com>
On Thu, Aug 04, 2005 at 11:51:39AM +0800, Feng Wang wrote:
> > Certainly you shouldn't expect this to ever work. You
> > need to use %Lf for long double, and there is no standard
> > flag letter for __float128.
> >
>
> Correct as: printf ("%Lf, %Lf\n", a, b);
No, not correct! __float128 is *not* long double, and
therefore %Lf is *not* correct. Nor would this be
correct on HPUX, since __float80 is not long double.
But I'll save you further effort and say that __float128
has no support on linux.
r~