Converting IBM Floats..Help..

John Roth newsgroups at jhrothjr.com
Fri Mar 26 19:35:26 EST 2004


"Anton Vredegoor" <anton at vredegoor.doge.nl> wrote in message
news:40641706$0$133$3a628fcd at reader1.nntp.hccnet.nl...
> "Ian Sparks" <Ian.Sparks at etrials.com> 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
converting.

John Roth

> Anton






More information about the Python-list mailing list