perlquestion
physgreg
I am trying to extract a stream of numbers that are encoded (according to the specification of the product) in IEEE 754 format. I am attempting to use unpack to do this, with a 'f' template. However, the number I end up with is very different to the one I used as test data.
<p>
My set up is a proprietary application on Win2k (which I have no control over) sending these streams to some Perl code on Slackware 8.0. This code is modifyable by me.
<p>
What I would like to know is<p>
1. Is there any way to confirm whether the Windows app is sending the right format (it should be)?<p>
2. Is there any way of extracting this data (if the problem is that the native format on my platform is not IEEE 754).
<p>
Thanks!