Newsgroups: comp.lang.python
From: "Colin Brown" <cbr...@metservice.com>
Date: Thu, 27 Nov 2003 08:38:24 +1300
Local: Wed, Nov 26 2003 2:38 pm
Subject: Re: Extract double in binary file
news:e567c03a.0311260616.205efca0@posting.google.com...
> Hello, If the number is saved in a floating point representation (IEEE?), > I've a binary file with data in it. > Can someone help me? > Thanks typically [sign][exponent][fraction] then you really need to know what the type is. For example, I had to make cross-platform real numbers at one stage and fabricated them as below. Colin Brown import math def vmsR4(real): You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||