Ok I've seen https://docs.python.org/2/tutorial/floatingpoint.html now
thanks to Yhg1s on #python
I bet you get this kind of thing a lot, sorry :-/
FraserL wrote in
news:XnsA35313E634BA0fraserlonggmailcom34@216.196.109.145:
> I think I found a strange bug in python 3.4.1,
...
&g
I think I found a strange bug in python 3.4.1,
fresh install of
https://www.python.org/ftp/python/3.4.1/python-3.4.1.amd64.msi
and a fresh install of
https://www.python.org/ftp/python/2.7.7/python-2.7.7.amd64.msi
to compare it to.
#test code
z = 0.01
p = 0.0
for x, y in enumerate(range(1, 2