[SciPy-user] IBM float point format...

fred fredmfp@gmail....
Wed Jan 14 16:55:23 CST 2009


David Cournapeau a écrit :
>
> Yes. You can't read them in floating point support, since your machine
> representation and IBM's representation are fundamentally different. You
> want to import a type which is not supported by your CPU, so you have to
> bypass completely the type system. Reading them as int32 means you
> consider your bytes as a raw set of bits, which is what Robert's code is
> doing,
Thanks a lot to you all, I get it.

I have to convert my data from big to little endian too
to get the right result.


Cheers,

-- 
Fred


More information about the SciPy-user mailing list