> On 19 Dec 2016, at 15:19, Gilles Gouaillardet <[email protected]>
> wrote:
>
> Jeff,
>
> I am not aware of such flag for C/C++ compilers.
>
> Jan,
>
> I noticed
> checking size of Fortran DOUBLE PRECISION... 16
> At first glance, this looks surprising to me
> Which compiler (vendor and version) are you using ?
I use GNU Fortran (GCC) 6.1.0.
The -fdefault-real-8 also changes the default double precision to 16 bytes.
From the man page:
-fdefault-real-8
Set the default real type to an 8 byte wide type. This
option also
affects the kind of non-double real constants like 1.0, and
does
promote the default width of "DOUBLE PRECISION" to 16 bytes
if
possible, unless "-fdefault-double-8" is given, too. Unlike
-freal-4-real-8,
it does not promote variables with explicit kind declaration.
Best,
Jan
_______________________________________________
devel mailing list
[email protected]
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel