msbin to ieee

revuesbio revuesbio at gmail.com
Mon May 7 04:18:36 EDT 2007


On 7 mai, 03:52, John Machin <sjmac... at lexicon.net> wrote:
> On May 7, 7:44 am, revuesbio <revues... at gmail.com> wrote:
>
> > Hi
> > Does anyone have the python version of the conversion from msbin to
> > ieee?
> > Thank u
>
> Yes, Google has it. Google is your friend. Ask Google. It will lead
> you to such as:
>
> http://mail.python.org/pipermail/python-list/2005-August/337817.html
>
> HTH,
> John

Thank you,

I've already read it but the problem is always present. this script is
for double precision MBF format ( 8 bytes).
I try to adapt this script for single precision MBF format ( 4 bytes)
but i don't find the right float value.

for example : 'P\xad\x02\x95' will return '0.00024924660101532936'






More information about the Python-list mailing list