From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,3f733b75cefd0ba6,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: 11cfa8,3f733b75cefd0ba6,start X-Google-Attributes: gid11cfa8,public X-Google-Thread: 1164f8,3f733b75cefd0ba6,start X-Google-Attributes: gid1164f8,public From: rkoehler@csc.com (Robert Koehler) Subject: Re: DEC Alpha-> Vax conversion Date: 1997/03/20 Message-ID: <5gre7s$2cv@explorer.csc.com>#1/1 X-Deja-AN: 226963406 References: <5gr59p$ich@romeo.logica.co.uk> Followup-To: logica.comp,comp.sys.dec,vmsnet.alpha Organization: Computer Sciences Corporation Newsgroups: logica.comp,comp.sys.dec,vmsnet.alpha Roger Peden (pedenr@logica.com) wrote: : Hi, : Does anyone have any experience of converting 64 bit files on an Alpha back to : a 32 bit VAX readable form? They're probably the same. The data in the files depends on mostly on the program that wrote them, not the platform that they were written on. If your storing floating point in the files, the default on the VAX is F_FLOAT for single and D_FLOAT for double precision, but you can use a compiler switch to generate code using G_FLOAT for double precision. On the Alpha the defaults are F_FLOAT for single and G_FLOAT for double, but you can get D_FLOAT for double (calculation precision limitted to that of G_FLOAT, but D_FLOAT format storage), or IEEE S for single and T for double. And if you've written your Alpha program to use 64 bit integers (you have to specifically code for that our you'll get 32 bit integers), there's no direct support in most compilers on the VAX, but its highly unlikely that you had needed to do that. I exchange data between VAXen and Alphas all day, and so do thousands of sites running mixed architecture clusters, whithout a sinlge byte of conversion. ------------------------------------------------------------------------------ Bob Koehler | Computer Sciences Corporation rkoehler@csc.com | System Sciences Division