On 1/10/2009, at 8:17 AM, Martin Batholdy wrote:

hum,

can you explain that a little more detailed?
Perhaps I miss the background knowledge - but it seems just absurd to
me.

0.1+0.1+0.1 is 0.3 - there is no rounding involved, is there?

why is
x <- 0.1 + 0.1 +0.1
not equal to
y <- 0.3

?

You have told the answer already, several times.

        *******FLOATING POINT ARITHMETIC********

If you still don't understand, read up on it. Start by looking at the FAQ.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to