This is a great explanation of how floating point numbers work. Highly recommended:
What Every Programmer Should Know About Floating-Point Arithmetic
Comments are closed.