10
bigdada
5y

Having trust issues...

Comments
  • 11
    I'd also have trust issues. Not in Python, but in your knowledge of how binary floats actually work. Especially since this issue is posted over and over on DR several times a week, though mostly with JS.
  • 5
    Looks like someone's hunting a bug so elusive, in the process they would question Math itself! 😂
  • 6
    don't use floats! how many times do we have to go over this?

    if you have a finite precision (aka handling money where the smallest it will ever be is 0.01) then use ints and just multiply.
Add Comment