in reply to Why do these produce different values?
See Floating-Point Basics, which explains the issues about doing math on computers in detail.
Makeshifts last the longest.