Read this article for further information: What Every Computer Scientist Should Know About Floating-Point Arithmetic