[Numpy-discussion] bug with numpy 2 ** N

Dmitrey tmp50@ukr....
Wed Mar 23 13:02:31 CDT 2011


 >>> 2**64
   18446744073709551616L
   >>> 2**array(64)
   -9223372036854775808
   >>> 2**100
   1267650600228229401496703205376L
   >>> 2**array(100)
   -9223372036854775808
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110323/5d430f0e/attachment.html 


More information about the NumPy-Discussion mailing list