[Tutor] Floating Confusion

Kent Johnson kent37 at tds.net
Thu Aug 23 02:36:01 CEST 2007

wormwood_3 wrote:
>>>> 1.1
> 1.1000000000000001

> The second case is, of course, what is throwing me. By having a
> decimal point, "1.1" is a float type, and apparently it cannot be
> represented by binary floating point numbers accurately. I must admit
> that I do not understand why this is the case. Would anyone be able
> to enlighten me?



More information about the Tutor mailing list