Converting IBM Floats..Help..

John Roth newsgroups at
Sat Mar 27 01:35:26 CET 2004

"Anton Vredegoor" <anton at> wrote in message
news:40641706$0$133$3a628fcd at
> "Ian Sparks" <Ian.Sparks at> wrote:
> Some time ago there was a question on this group about 4-byte IBM
> floats, and maybe questions about other formats will follow in the
> future. Here's a flexible -but possibly slow?- approach to handle
> these kind of problems. It uses a stream of bytes (a file for example)
> as input and returns a series of floats.

There are only the two legacy formats. More recent
IBM mainframes also support standard IEEE-488 floating
point, which should provide no difficulty whatsoever in

John Roth

> Anton

More information about the Python-list mailing list