Topic: IEEE Format for doubles vs 10byte format (?)
Author: kerr@math.ohio-state.edu (Kerr Gibson)
Date: 17 Jun 1994 16:48:18 -0400 Raw View
Can anyone give me a clue as to how to convert a raw 10 byte
double to an 8 byte (or 16 byte) eye-triple-e format. I am in the
process of converting an old Mac program which saved out doubles to files
in a 10 byte format as raw characters (yeah, I know, but I didn't write
it originally). What I need to do is read in the 10 bytes and then somehow
shove 'em into an 8 byte double so I can modify the program for a power PC.
Are the two formats compatible (i.e. can I just chop off two bytes)?
Thanks in advance,
--William Gibson