[Numpy-discussion] numpy.mean still broken for largefloat32arrays

Sebastian Berg sebastian at sipsolutions.net
Mon Jul 28 10:08:39 EDT 2014


On Mo, 2014-07-28 at 15:50 +0200, Fabien wrote:
> On 28.07.2014 15:30, Daπid wrote:
> > An example using float16 on Numpy 1.8.1 (I haven't seen diferences with
> > float32):
> 
> Why aren't there differences between float16 and float32 ?
> 

float16 calculations are actually float32 calculations. If done along
the fast axis they will not get rounded in between (within those 8192
elements chunks). Basically something like the difference we are talking
about for float32 and float64 has for years existed in float16.

> Could this be related to my earlier post in this thread where I 
> mentioned summation problems occurring much earlier in numpy than in IDL?
> 
> Fabien
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion





More information about the NumPy-Discussion mailing list