[Numpy-discussion] BigInteger equivalent in numpy

wierob wierob83 at googlemail.com
Thu Jun 4 08:19:33 EDT 2009


Hi,

is there a BigInteger equivalent in numpy? The largest integer type I 
wound was dtype int64.

I'm using stats.linregress to perform a regression analysis. The return 
stderr was nan because stas.ss(...) returned a negative number due to an 
overflow. Setting dtype to int64 for my input data seems to fix this. 
But what if my data does not fit in int64?

Since Python's long type can hold large data I tried to convert my input 
to long but it gets converted to int64 in numpy.


kind regards
robert



More information about the NumPy-Discussion mailing list