weisberg@hpccc.HP.COM (Len Weisberg) (05/08/90)
Is there a way to handle binary floating point data? I would expect to use pack and unpack, but there are no format letters for float. Actually what I am trying to do is read a file written on a VAX with a program running on an HP9000 (which uses IEEE floating point. Unless I am missing something, it looks like a C program. Any ideas? Any chance for adding float (and double) to (un)?pack \? - Len Weisberg HP Corporate Computing & Services weisberg@hpccc in Palo Alto mailstop 20CH telnet 857-2495 HPDesk hp0000
lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (05/09/90)
In article <12170004@hpccc.HP.COM> weisberg@hpccc.HP.COM (Len Weisberg) writes:
: Is there a way to handle binary floating point data?
:
: I would expect to use pack and unpack, but there are no format letters
: for float.
:
: Actually what I am trying to do is read a file written on a VAX with
: a program running on an HP9000 (which uses IEEE floating point.
: Unless I am missing something, it looks like a C program.
: Any ideas? Any chance for adding float (and double) to (un)?pack \?
It's already in my Todo list.
Larry