El dv 02 de 02 del 2007 a les 19:11 +0100, en/na Francesc Altet va
escriure:
> El dv 02 de 02 del 2007 a les 10:22 -0700, en/na Travis Oliphant va
> escriure:
> > Francesc Altet wrote:
> >
> > >Hi,
> > >
> > >We have been bitten by a small glitch related with the representation of
> > >native byt
El dv 02 de 02 del 2007 a les 10:22 -0700, en/na Travis Oliphant va
escriure:
> Francesc Altet wrote:
>
> >Hi,
> >
> >We have been bitten by a small glitch related with the representation of
> >native byteorders. Here is an example exposing the problem:
> >
> >
> >
> numpy.dtype('
Francesc Altet wrote:
>Hi,
>
>We have been bitten by a small glitch related with the representation of
>native byteorders. Here is an example exposing the problem:
>
>
>
numpy.dtype('>>>
>'='
>
>
numpy.dtype('>i4').newbyteorder('little').byteorder
>'<'
>
Hi,
We have been bitten by a small glitch related with the representation of
native byteorders. Here is an example exposing the problem:
>>> numpy.dtype('i4').newbyteorder('little').byteorder
'<'
[the example was run on a little endian machine]
We thought that native byteorder were represented