[Numpy-discussion] Importance of order when summing values in anarray

Hanni Ali hanni.ali@gmail....
Tue Dec 9 09:00:07 CST 2008

Hi Bruce,

Ahh, but I would have thought the precision for the array operation would be
the same no matter which values I wish to sum? The array is in float64 in
all cases.

I would not have thought altering the type of the integer values would make
any difference as these indices are all below 5 milllion.

Perhaps I have misunderstood your suggestion could you expand.



Also, increase the numerical precision as that may depend on your
> platform especially given the input values above are ints. Numpy has
> float128 and int64 that will minimize rounding error.
> Bruce
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081209/73ea903b/attachment.html 

More information about the Numpy-discussion mailing list