This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tom.pohl
Recipients loewis, mark.dickinson, rhettinger, serhiy.storchaka, skrah, tom.pohl
Date 2012-11-14.07:11:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352877105.77.0.592768091669.issue16460@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-11-14 07:11:45tom.pohlsetrecipients: + tom.pohl, loewis, rhettinger, mark.dickinson, skrah, serhiy.storchaka
2012-11-14 07:11:45tom.pohlsetmessageid: <1352877105.77.0.592768091669.issue16460@psf.upfronthosting.co.za>
2012-11-14 07:11:45tom.pohllinkissue16460 messages
2012-11-14 07:11:45tom.pohlcreate