From: egger@ubeclu.unibe.ch (Martin Egger)
Subject: Re: double precision on alpha (was: REAL*16 support planned for DEC Fortran on AXP systems
Date: Thu, 12 Aug 1993 06:43:21 GMT [thread overview]
Message-ID: <1993Aug12.064321.7746@aragorn.unibe.ch> (raw)
In-Reply-To: 24cc15$qke@donald.cc.utexas.edu
In article <24cc15$qke@donald.cc.utexas.edu>, ylu@donald.cc.utexas.edu (~{B@TFI=~}Luke Y. Lu) writes:
> I thought double precision in dec f77 on alpha is real*16 and that real is
> real*8 since alpha is 64-bit machine.
Wrong
> Will some dec people please enlighten me with correct info.
CHARACTER 1 Byte
LOGICAL 4 Bytes (=LOGICAL*4)
INTEGER 4 Bytes (=INTEGER*4)
REAL 4 Bytes (=REAL*4)
DOUBLE PRECISION 8 Bytes (=REAL*8)
COMPLEX 8 Bytes (=COMPLEX*8)
DOUBLE COMPLEX 16 Bytes (=COMPLEX*16)
You can modify the defaults for REAL and INTEGER with the compiler switches
/REAL_SIZE={32,64} and /INTEGER_SIZE={16,32,64}
> What about float and double in dec cc/cxx?
char 1 Byte
short int 2 Bytes
int 4 Bytes
long int 4 Bytes
float 4 Bytes
double 8 Bytes
long double 8 Bytes
Martin
*******************************************************************************
Martin Egger, Ph.D., Computing Services - Head of System/User Support Group
University of Bern, P.O. Box, Laenggassstrasse 51, CH-3012 Bern, Switzerland
Phone: ++41 (0)31 65 38 45, Fax: ++41 (0)31 65 38 65, Telex: 912 643 pibe ch
RFC: egger@id.unibe.ch, X.400: S=egger;OU=id;O=unibe;P=switch;A=arcom;C=ch;
HEPNET/SPAN: 20579::49202::egger, DECnet (Switzerland): 49202::egger
*******************************************************************************
next prev parent reply other threads:[~1993-08-12 6:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-08-11 1:42 REAL*16 support planned for DEC Fortran on AXP systems Steve Lionel
1993-08-12 3:05 ` double precision on alpha (was: " ~{B@TFI=~}Luke Y. Lu
1993-08-12 6:43 ` Martin Egger [this message]
1993-08-12 12:09 ` Mark Bartelt
1993-08-12 11:17 ` Dan Pop
1993-08-12 13:56 ` Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox