25 Jul
2006
25 Jul
'06
9:56 a.m.
On Tuesday 25 July 2006 01:42, Bill Baxter wrote:
And I think byteorder matters when comparing dtypes:
numpy.dtype('>f4') == numpy.dtype('
False
Ohhhhh -- that '<' part is indicating *byte order* ?! I thought it was odd that numpy could only tell me the type was "less than f4", which I assumed must be shorthand for "less than or equal to f4". Makes much more sense now!
--bb
Yep! And there are then four possiblities. '>' - big-endian '<' - little '|' - not-applicable '=' - native Karol -- written by Karol Langner wto lip 25 08:54:51 CEST 2006