The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: "Terry Reedy" <tjre...@udel.edu>
Date: Thu, 27 Nov 2003 13:00:03 -0500
Local: Thurs, Nov 27 2003 1:00 pm
Subject: Re: Extract double in binary file
news:e567c03a.0311270107.9fc983d@posting.google.com...
> Some precisions: ('examples': 'precisions' does not work here in English) > 0.00 > 00-00-00-00-00-00-7F-00 The only obvious pattern I see is that 2**0 -> 81, 2**1->82, ... > 1.00 > 00-00-00-00-00-00-00-81 > 2.00 > 00-00-00-00-00-00-00-82 > 3.00 > 00-00-00-00-00-00-40-82 > 4.00 > 00-00-00-00-00-00-00-83 > 10.00 > 00-00-00-00-00-00-20-84 > 1.11 > 14-AE-47-E1-7A-14-0E-81 2**9->8A (where A==10) ie, for non-zero, last byte is 81 + exponent of largest power of two, which seems like type of float, and first 6 are 0 if integral. May be proprietary format. TJR 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.
| ||||||||||||||