From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ab02531b71c8f5fd X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-03-10 03:00:07 PST Path: bga.com!news.sprintlink.net!pipex!oleane!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!pss100.psi.ch!cvax.psi.ch!reid From: reid@cvax.psi.ch (Dr Ivan D Reid, �SR Facility, PSI) Newsgroups: comp.sys.dec Subject: Re: Help - DEC floating point format? Date: 10 Mar 1995 11:36 +0200 Organization: Paul Scherrer Institute, Switzerland Distribution: world Message-ID: <10MAR199511364778@cvax.psi.ch> References: NNTP-Posting-Host: psw086.psi.ch News-Software: VAX/VMS VNEWS 1.41 In article , Andrew Gibbs writes... >Excuse my ignorance but I'm trying to read some datafiles into a PC. >They claim to be floating point and were obtained originally on an >instrument based on some sort of DEC computer (PDP/Vax??). All my >attempts to read this data result in garbage and I would like to know >if the floating point format used is non-IEEE, and if so what is it? >(bit allocations for mantissa/exponent/sign(s) etc) Single- or double-precision? Single-precision should be the same, but the usual DEC double-precision just adds four bytes of mantissa, keeping the same exponent (i.e. more precision, but less range than an IEEE double). As far as I recall, byte order is the same as Intel silicon. If you need more help, mail me; I've got DEC and Intel documents here in the office to get down to the bits 'n' bytes level. Ivan Reid, Paul Scherrer Institute, CH. reid@cvax.psi.ch