Inherent imprecision of floating point variables

Andrew Koenig ark at alice.UUCP
Thu Jun 28 22:48:04 AEST 1990


In article <4186 at jato.Jpl.Nasa.Gov>, kaleb at mars.jpl.nasa.gov (Kaleb Keithley) writes:

> Because (10.0 - 0.1) + 0.1 will never be exactly equal to 10.0.

Beg pardon?  I agree that it won't always be exactly 10.0
but `never' is a bit strong.
-- 
				--Andrew Koenig
				  ark at europa.att.com



More information about the Comp.lang.c mailing list