[Numpy-discussion] Random int64 and float64 numbers

Sturla Molden sturla@molden...
Sun Nov 1 21:27:46 CST 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