[Numpy-discussion] numpy.mean still broken for large float32 arrays
Joseph Martinot-Lagarde
joseph.martinot-lagarde at m4x.org
Thu Jul 24 13:03:50 EDT 2014
Le 24/07/2014 12:55, Thomas Unterthiner a écrit :
> I don't agree. The problem is that I expect `mean` to do something
> reasonable. The documentation mentions that the results can be
> "inaccurate", which is a huge understatement: the results can be utterly
> wrong. That is not reasonable. At the very least, a warning should be
> issued in cases where the dtype might not be appropriate.
>
Maybe the problem is the documentation, then. If this is a common error,
it could be explicitly documented in the function documentation.
More information about the NumPy-Discussion
mailing list