[Numpy-discussion] Random int64 and float64 numbers

Sturla Molden sturla at molden.no
Sun Nov 1 22:27:46 EST 2009

Robert Kern skrev:
> Then let me clarify: it was written to support integer ranges up to
> sys.maxint. Absolutely, it would be desirable to extend it.
I know, but look at this:

 >>> import sys
 >>> sys.maxint
 >>> 2**31-1

sys.maxint becomes a long, which is what confuses mtrand.

More information about the NumPy-Discussion mailing list