[Numpy-discussion] int64 wierdness

EI geneing at gmail.com
Tue Jun 27 13:52:08 EDT 2006


I'm running python 2.4 on a 64bit linux and get strange results:
(int(9))**2 is equal to 81, as it should, but
(int64(9))**2 is equal to 0

Is it a bug or a feature?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060627/61591eda/attachment.html>

More information about the NumPy-Discussion mailing list