[Numpy-discussion] Strange Error with NumPy Addendum

Nanime Puloski npuloski@gmail....
Fri Aug 7 07:15:02 CDT 2009


But if it were an unsigned int64, it should be able to hold 2**64 or at
least 2**64-1.
Am I correct?

On Fri, Aug 7, 2009 at 1:03 AM, David Warde-Farley <dwf@cs.toronto.edu>wrote:

> On 6-Aug-09, at 7:29 PM, Robert Kern wrote:
>
> > For that value, yes, but not for long objects in general. We don't
> > look at the value itself, just the type.
>
> Err, don't look at the value (of a long), except when it's
> representable with an integer dtype, right? Hence why 2**63 - 1 works.
>
> David
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090807/70dc7700/attachment.html 


More information about the NumPy-Discussion mailing list