I'm trying to find an efficient way to convert from DSP32C binary files
smmmmmmm mmmmmmmm mmmmmmmm eeeeeeee
to IEEE float
seeeeeee emmmmmmm mmmmmmmm mmmmmmmm

I tried struct and bit-shifting from a C manual example, but it 
failed. Has someone else coded this in Python? I'll post the early 
attempt when I get into the office later, if not.

I re-coded from scratch, converting each 32 bit ATT value to a binary 
string, slice-rearranging bits, then re-packing to IEEE. A bit 
slowwwww. At least they're small files.

Ray


_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to