On Saturday 02 July 2005 08:53 pm, Dennis Lee Bieber wrote: > On Sat, 2 Jul 2005 18:49:20 -0400, Christopher Kang > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > I've been doing the epsilon comparisons, i had just hoped that to be a > > temporary solution. > > > Considering how often this has come up, I've sort of lost faith > in CS programs at colleges. Now, this might be an unfair statement as I > don't know if any of those bringing up the question ever had college CS > courses...
Yeah, it's unfair. I would be seriously surprised if even half of the readers here majored in CS. I doubt even 1% actually learned about this floating point problem in a CS class. ISTM that anyone destined to major in CS would've figured this out long before that. I learned it when I was about 14, programming in Basic on a home computer, IIRC. I certainly had learned it from experience by the time I went to college. But who knows when someone here picked up programming? A lot of people learn it later in life, and Python is a good choice for that. And for that matter, some of the posters here have *been* 14. I suppose it's also worth mentioning that programming and CS aren't mostly about number-crunching anymore, so a lot of people never bother with floats. Which seems totally bizarre to me, since I cut my teeth on graphics and moved on to scientific programming, but there you are. -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com -- http://mail.python.org/mailman/listinfo/python-list