> > Can anybody on a 64-bit system confirm?
>
> I'm on 64-bit Debian:
>
> In [11]: arr=N.arange(10,dtype=N.uint)
>
> In [12]: arr.dtype.kind
> Out[12]: 'u'
>
> In [13]: arr.dtype.itemsize
> Out[13]: 4
>
> In [14]: arr=N.arange(10,dtype=N.long)
>
> In [15]: arr.dtype.kind
> Out[15]: 'i'
>
> In [16]: arr.dtype.itemsize
> Out[16]: 8

Ack!  That was on the wrong machine (32-bit Debian).  Here is the 64-bit 
version:

In [2]: arr=N.arange(10,dtype=N.uint)

In [3]: arr.dtype.kind
Out[3]: 'u'

In [4]: arr.dtype.itemsize
Out[4]: 8

In [5]: arr=N.arange(10,dtype=N.long)

In [6]: arr.dtype.kind
Out[6]: 'i'

In [7]: arr.dtype.itemsize
Out[7]: 8

Sorry about that,

Scott

-- 
Scott M. Ransom            Address:  NRAO
Phone:  (434) 296-0320               520 Edgemont Rd.
email:  [EMAIL PROTECTED]             Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B  FFCA 9BFA B6FF FFD3 2989

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to