[Python-bugs-list] Inaccuracy of <= to two or more decimal places (PR#350)

ashar@vpharm.com ashar@vpharm.com
Thu, 8 Jun 2000 17:53:14 -0400 (EDT)


Full_Name: Raj Ashar
Version: 1.5.2
OS: Windows NT 4.0
Submission from: fringe.vpharm.com (208.48.225.2)


Hello. K. Sandretto and I believe we found the "<=" operator functions 
like a "<" when incrementing loop variables with numbers smaller than 0.1.

For example, in her program, she writes:

LoopVariable = 0
Increment = 0.05

while LoopVariable <= 1:
      print y