[Bug fortran/52153] REAL128 gives extended precision, not quad precision
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 12 15:33:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52153
--- Comment #10 from kargl at gcc dot gnu.org ---
(In reply to Steve Kargl from comment #9)
> On Mon, Aug 12, 2013 at 08:08:18AM +0000, latlon90180+gcc_bugzilla at gmail
> dot com wrote:
> > Is there any progress on this?
> > REAL128 of gfortran4.8 is still 10.
> >
>
> Need a short example. gfortran has supported a 128-bit real type
> for quite some time (since 4.6).
>
> real(4) a
> real(8) b
> real(10) c
> real(16) d
> print '(4(I0,1X))', digits(a), digits(b), digits(c), digits(d)
> end
>
> % gfortran46 -o z a.f90 && ./z
> 24 53 53 113
>
> PS: yes, the output is correct for real(10). FreeBSD-i386's long double
> only has 53-bits of precision.
Ignore. I should have read the audit trail first.
More information about the Gcc-bugs
mailing list