[SciPy-User] Conversion from 32bits IEEE floats to IBM floats

Matthieu Brucher matthieu.brucher at gmail.com
Thu Jun 9 09:17:58 EDT 2011


Hi,

I wondered if anyone had a conversion routine for 32 bits IEEE floats in an
array to IBM floats (stored in a 4 bytes integers). I have a routine for
doing the opposite, but not IEEE->IBM.

There are codes in C or other languages, but the trick is starting from an
array (don't know if it can be reinterpreted as an integer array easily).

Matthieu

-- 
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110609/c19e0c87/attachment.html>


More information about the SciPy-User mailing list