[Rd] "==" gives incorrect answers! (PR#6691)

dongyunhkim at yahoo.com dongyunhkim at yahoo.com
Wed Mar 24 15:35:47 CET 2004


Full_Name: Dong-Yun Kim
Version: 1.7.0/1.8.1
OS: WinMe/WinXP
Submission from: (NULL) (4.33.147.192)


Hi all,

It appears that R has a problem with evaluating logical "==" operator. The
following are a few examples I found:

> 2.1+0.2==2.3
[1] FALSE
> 2.7+0.1==2.8
[1] FALSE
> 2.7+0.2==2.9
[1] FALSE
> 3.1+0.2==3.3
[1] FALSE

Thanks.

Dong-Yun Kim



More information about the R-devel mailing list