From: Albert S. <fu...@gm...> - 2006-10-23 22:51:24
|
Hello all I'm trying to generate random 32-bit integers. None of the following seem to do the trick with NumPy 1.0.dev3383: In [32]: N.random.randint(-2**31, 2**31-1) ValueError: low >= high In [43]: N.random.random_integers(-2**31, 2**31-1) OverflowError: long int too large to convert to int In [45]: N.random.randint(-2**31, 2**31-1) ValueError: low >= high Am I missing something obvious? Cheers, Albert |