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 <[email protected]>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
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to