It's a common problem in all programming languages due to the impossibility to store certain floating-point numbers. [Here][1] are more information.
[1]: https://docs.python.org/3.4/tutorial/floatingpoint.html
– zer0unoSep 08 '14 at 11:37
And of course [What Every Computer Scientist Should Know About Floating Point Arithmetic](http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html). Read one of the introductory tutorials first, but eventually read this too.
– abarnertSep 08 '14 at 11:50