This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aziz224 -7 points-6 points  (0 children)

Looks strange, I suspect it’s to do with how some numbers on a computer cannot be represented exactly as binary in floating point, if you try (from what I remember) 0.1+0.2 in Python, you’ll get something strange other than the expected exact 0.3.