On 30-01-2013, at 21:32, Dave Mitchell <dmmtc...@gmail.com> wrote:

> Why, in R, does (0.1 + 0.05) > 0.15 evaluate to True?  What am I missing
> here?  How can I ensure this (ostensibly incorrect) behavior doesn't
> introduce bugs into my code?  Thanks for your time.
> 

R-FAQ 7.31: 
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f

Berend

______________________________________________
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