From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6c45a37db02ba257,start X-Google-Attributes: gid1164f8,public From: johnson@atc.ameritel.net Subject: VAX Floating Point Date: 1995/09/06 Message-ID: <42k3ju$bmu@news.ameritel.net>#1/1 X-Deja-AN: 109596763 organization: American TeleCom newsgroups: comp.sys.dec Hello, I have some hex patterns which represent 64-bit floating point values on a VAX. What I need is to convert them to 64-bit floats on a Motorola processor (IEEE standard float, 11-bit mantissa). Here are the numbers: 1) f0 49 71 e7 85 6a 48 b3 2) 88 b6 00 30 00 00 00 00 3) d4 c0 9e ba 4e ea e0 4f 4) d2 3c b4 3f 00 00 00 00 5) a1 46 9d 0d 00 fa 00 00 6) 18 40 22 1b b9 b0 a0 32 7) 76 40 f3 1e bc af c0 87 8) 36 c1 63 b4 53 33 68 ab 9) 09 b3 df 19 2d 85 58 e8 I've tried numerous ways of byte-swapping, but some of the numbers appear to be pretty far out no matter what I do. Also, I don't know if the VAX numbers were generated using the G-FLOAT or D-FLOAT. ANY help would be appreciated. It would be fantastic is someone with access to a VAX would memcpy() these hex patterns into a "double" and post a response indicating what the numbers are supposed to be. Once I know what I'm shooting for, it'll be a whole lot easier to verify that we can decode them properly. Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Tony J. P.S. If you only feel like testing ONE of the above patterns, please use number 5 (a1 46 9d 0d 00 fa 00 00)