Hi,
What are the possible values of 
arr.dtype.kind ?

It seems that signed and unsigned are considered to be the same "kind" 
>>> arr=N.arange(10,dtype=N.uint)
>>> arr.dtype.kind
'i'
>>> arr.dtype.itemsize
8
(OK - this is just showing off our amd64 linux ;-) )

How can I distinguish signed from unsigned without having to list all possible 
cases explicitly ?

Thanks,
Sebastian Haase

-------------------------------------------------------------------------
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