From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,bbd61a3895cd61fe X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,bbd61a3895cd61fe X-Google-Attributes: gid1164f8,public X-Google-Thread: 1094ba,bbd61a3895cd61fe X-Google-Attributes: gid1094ba,public X-Google-Thread: fee84,bbd61a3895cd61fe X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-08-12 00:51:04 PST Xref: gmd.de comp.lang.fortran:7308 comp.os.vms:28666 comp.unix.osf.osf1:827 comp.sys.dec:9434 Newsgroups: comp.lang.fortran,comp.os.vms,comp.unix.osf.osf1,comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!agate!doc.ic.ac.uk!warwick!zaphod.crihan.fr!univ-lyon1.fr!scsing.switch.ch!aragorn.unibe.ch!news From: egger@ubeclu.unibe.ch (Martin Egger) Subject: Re: double precision on alpha (was: REAL*16 support planned for DEC Fortran on AXP systems Message-ID: <1993Aug12.064321.7746@aragorn.unibe.ch> Sender: news@aragorn.unibe.ch Reply-To: egger@ubeclu.unibe.ch Organization: University of Bern, Switzerland References: <1993Aug11.004716.20759@jac.nuo.dec.com>,<24cc15$qke@donald.cc.utexas.edu> Date: Thu, 12 Aug 1993 06:43:21 GMT 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 *******************************************************************************