why do I get this behavior from a while loop?

S. Chris Colbert sccolbert at gmail.com
Fri Nov 27 15:00:42 EST 2009


What a newbie mistake for me to make.

I appreciate the replies everyone!

Cheers,

Chris

> 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
> 



More information about the Python-list mailing list