From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,3f733b75cefd0ba6 X-Google-Attributes: gid10f8a1,public X-Google-Thread: 11cfa8,3f733b75cefd0ba6 X-Google-Attributes: gid11cfa8,public X-Google-Thread: 1164f8,3f733b75cefd0ba6 X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.nospam (Stephen Hoff Hoffman) Subject: Re: DEC Alpha-> Vax conversion Date: 1997/03/25 Message-ID: <5h76ip$j41@usenet.pa.dec.com>#1/1 X-Deja-AN: 228090686 Distribution: world References: <5gr59p$ich@romeo.logica.co.uk> <5grd87$lj5@romeo.logica.co.uk> <5grfba$11r0_001@logica.co.uk> Organization: Digital Equipment Corp Reply-To: hoffman@xdelta.zko.dec.nospam Newsgroups: logica.comp,comp.sys.dec,vmsnet.alpha In article <5grfba$11r0_001@logica.co.uk>, putleya@logica.com (Adrian Putley) writes: :>>Roger Peden wrote: :>>>Does anyone have any experience of converting 64 bit files on an Alpha back :>>>to a 32 bit VAX readable form? The file formats are compatible and interchangeable -- the VMScluster would not work otherwise. Individual fields in files may or may not be compatible -- floating point can be one potential problem area. There are compatible floating point formats between VAX and Alpha, and there are formats that require conversions. For conversions, see CVT$CONVERT_FLOAT, in the back of the LIB$ RTL manual. (Be aware that floating point conversions can cause "interesting" behaviour with values that result from the extension or the truncation of the bits in the floating point values, as the formats are converted...) There are routines and techniques that can also be used to convert floating point formats, but most (all?) will also inherently introduce "errors"... -- Adrian, aren't you and Roger at the same site? -------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering h*ffman@xdelta.enet.dec.c*m headers and addresses munged to avoid automated spammers: junk-e-mail