Message175542
This is "a fact-of-life for anyone using binary floating point":
x = 0.0
while x != 1.0: print(x); x += 0.1 # so long
This is not: 1 // 0.1 = 9.0 because math.floor(1/0.1) is able to come up with the result that is expected from an operator called "floor division".
Aynway, I'm curios, what's your use case for FD? Since all of you are so strongly in favor of the current behavior you must be using it all the time. |
|
Date |
User |
Action |
Args |
2012-11-14 07:11:45 | tom.pohl | set | recipients:
+ tom.pohl, loewis, rhettinger, mark.dickinson, skrah, serhiy.storchaka |
2012-11-14 07:11:45 | tom.pohl | set | messageid: <1352877105.77.0.592768091669.issue16460@psf.upfronthosting.co.za> |
2012-11-14 07:11:45 | tom.pohl | link | issue16460 messages |
2012-11-14 07:11:45 | tom.pohl | create | |
|