I get the same failure on ppc.  Here is the result of your commands:

big
<
 >
=

On Apr 1, 2007, at 16:22, Stefan van der Walt wrote:

> Hi Chris
>
> Would you please run the following commands and show their output?
>
> import sys
> print sys.byteorder
>
> import numpy as N
> print N.array([1,2,3],N.dtype(N.int16).newbyteorder 
> ('<')).dtype.byteorder
> print N.array([1,2,3],N.dtype(N.int16).newbyteorder 
> ('>')).dtype.byteorder
> print N.array([1,2,3],N.dtype(N.int16).newbyteorder 
> ('=')).dtype.byteorder
>
> Output on my little-endian system is
>
> little
> <
>>
> =
>
> and I'd be curious to see if the output on a big-endian system follows
> the same pattern.
>
> I'd expect
>
> big
> <
>>
> =
>
> Cheers
> Stéfan
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

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

Reply via email to