Article View: microsoft.public.vc.language
Article #104IEEE conversion: bytes into floating point number...
From: dave
Date: Sat, 12 Jul 1997 00:00
Date: Sat, 12 Jul 1997 00:00
18 lines
1148 bytes
1148 bytes
[G++ 2.7.2 or VC++ 4.0] Greetings, I need to convert a data string like this: "111 134 27 240 249 33 9 64" (dec.) "6F 86 1B F0 F9 21 09 40" (hex) back into a floating point number ( in this case 3.14159). Please help, this is not homework. I'm reverse engineering a file format that stores floats this way. Is there a standard library function for this type of thing? Thanks very much in advance, Dave
Technical Details
Message-ID:
<33C83D2D.4528@cs.wisc.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,c41b066001ba50e9,start X-Google-Attributes: gid10ba33,public X-Google-Thread: 1014db,c41b066001ba50e9,start X-Google-Attributes: gid1014db,public X-Google-Thread: f7a51,c41b066001ba50e9,start X-Google-Attributes: gidf7a51,public X-Google-Thread: 109fba,c41b066001ba50e9,start X-Google-Attributes: gid109fba,public From: dave <drs@cs.wisc.edu> Subject: IEEE conversion: bytes into floating point number... Date: 1997/07/12 Message-ID: <33C83D2D.4528@cs.wisc.edu> X-Deja-AN: 256519934 Organization: University of Wisonsin Reply-To: drs@cs.wisc.edu Newsgroups: microsoft.public.vc.language,comp.lang.c,comp.lang.c++,gnu.g++.help