real*8 declarations for variables using g77
Dominique Dhumieres
dominiq@lps.ens.fr
Mon Dec 1 20:05:00 GMT 2008
Tobi,
> your question is off-topic, but the answer is 'yes'. REAL*8 is a non-standard synonym for DOUBLE PRECISION.
I am not sure to fully agree with you. If I remember correctly, in the standard DOUBLE PRECISION
is twice the size of the default REAL. For instance in the old time of the CRAY glory, REAL
was 8 bytes, hence DOUBLE PRECISION was 16 bytes (implemented in software, leading
to a dramatic increase in the execution time). Nowadays, the usage has more or less
settled to REAL==4 bytes==REAL*4==REAL(4ÃÃ), while
DOUBLE PRECISION==8 bytes==REAL*8==REAL(8).
Dominique
More information about the Fortran
mailing list