Message-ID: <4264C1D4.6030307@statistik.uni-dortmund.de>
Date: 2005-04-19T08:31:16Z
From: Uwe Ligges
Subject: Difference
In-Reply-To: <4264BF02.5080808@ibe.med.uni-muenchen.de>
Ralf Strobl wrote:
> Dear List,
> can anyone explain me this result (Windows XP, R 2.0.1):
>
> > (0.2-0.1)==0.1
> [1] TRUE
> > (0.3-0.2)==0.1
> [1] FALSE
Welcome to the world of numerics on digital computers!
all.equal(0.3 - 0.2, 0.1)
Uwe Ligges
> Regards,
> Ralf Strobl
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html