At 01:22 AM 7/25/2014, you wrote: > Actually the maximum precision I am not so > sure of, as I personally prefer to make an > informed decision about precision used, and get > an error on a platform that does not support > the specified precision, rather than obtain > subtly or horribly broken results without > warning when moving your code to a different platform/compiler whatever.
We were talking on this in the office, as we realized it does affect a couple of lines dealing with large arrays, including complex64. As I expect Python modules to work uniformly cross platform unless documented otherwise, to me that includes 32 vs 64 bit platforms, implying that the modules should automatically use large enough accumulators for the data type input. http://docs.scipy.org/doc/numpy/reference/generated/numpy.mean.html does mention inaccuracy. http://docs.scipy.org/doc/scipy-0.13.0/reference/generated/scipy.stats.mstats.gmean.html http://docs.scipy.org/doc/numpy/reference/generated/numpy.sum.html etc do not, exactly - Ray _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion