Hi,
Suppose I'm on a little-edian system.
Could I have a little-endian numpy array arr, where
arr.dtype.byteorder
would actually be "<"
instead of  "=" !?

There are two kinds of systems: little edian and big endian.
But there are three possible byteorder values: "<", ">" and "="

I assume that if arr.dtype.byteorder is "="
then, even on a little endian system
the comparison arr.dtype.byteorder == "<"  still fails !?
Or are the == and != operators overloaded !?

Thanks,
Sebastian Haase
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to