From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115914,eb58654c5683eea0,start X-Google-Attributes: gid115914,public X-Google-Thread: 10cebf,eb58654c5683eea0,start X-Google-Attributes: gid10cebf,public X-Google-Thread: 1164f8,eb58654c5683eea0,start X-Google-Attributes: gid1164f8,public From: chiehcheng@geocities.com (Chieh Cheng) Subject: VAX D-Float format Date: 1997/10/29 Message-ID: <34575f82.182344367@serve.installshield.com>#1/1 X-Deja-AN: 285979972 Newsgroups: comp.sys.dec,comp.sys.dec.micro,comp.arch.arithmetic I am trying to decode and decipher Intergraph Microstation's Design file format. It uses the VAX D-Float format. Although it is also 64 bit long, it is somewhat different from the IEEE double float format. The format is as follows: bit 15: sign bit 14 - 7: Exponent bit 6 - 0: Exponent bit 16 to 63 is the fraction. I assume it is one fraction, however, the diagram in the book divided it into three equal parts. Like the exponent shown above. Can someone help me with this format? How can I convert this binary data to a double float? Any help is greatly appreciated. Thanks. CC -- http://www.geocities.com/Area51/8145/