[PATCH] gfortran -- Map REAL128 to REAL kind type with widest precision

Mikael Morin morin-mikael@orange.fr
Tue Feb 7 20:07:00 GMT 2017


Le 07/02/2017 à 19:46, Steve Kargl a écrit :
> All,
>
> The attach patch maps REAL128 from iso_fortran_env to
> the REAL kind type with widest precision.  Prior to
> this patch, REAL128 is mapped to the first REAL kind
> type with a matching storage size of 128 bits.  On
> x86_64-*-freebsd both REAL(10) and REAL(16) occupy
> 16 bytes, but REAL(10) is mapped to REAL128.  This
> may surprise users that assume REAL128 is mapped to
> an IEEE754-2008 128-bit floating point entity with
> 113 bits of precision.  OK to commit?
>
Yes, thanks.

Mikael



More information about the Gcc-patches mailing list