[Numpy-discussion] Random int64 and float64 numbers

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sun Nov 1 22:04:08 EST 2009


Sturla Molden wrote:
> Robert Kern skrev:
>   
>> 64-bit and larger integers could be done, but it requires
>> modification. The integer distributions were written to support C
>> longs, not anything larger. You could also use .bytes() and
>> np.fromstring().
>>   
>>     
> But as of Python 2.6.4, even 32-bit integers fail, at least on Windows.
>   

It fails on linux as well - I think it is a 32 vs 64 bits issue, not a
windows vs linux. I don't know what happens on windows 64, though: we
may have issue if we use long.

cheers,

David



More information about the NumPy-Discussion mailing list