why do I get this behavior from a while loop?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Nov 27 12:21:54 EST 2009


On Fri, 27 Nov 2009 17:06:44 +0100, S. Chris Colbert wrote:

> I would think that second loop should terminate at 9.9, no?
> 
> I am missing something fundamental?

"What Every Computer Scientist Should Know About Floating Point"
http://docs.sun.com/source/806-3568/ncg_goldberg.html



-- 
Steven




More information about the Python-list mailing list