This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: real*8 declarations for variables using g77


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]