http://wiki.r-project.org/rwiki/doku.php?id=misc:r_accuracy:decimal_numbers http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
GrzeÅ wrote: > Do you heve any idea why I get after this instruction everywhere false? > >> seq (0, 1, by=0.1) == 0.3 >> > [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE > > But after different step it's ok: > >> seq(0, 1, by=0.1) == 0.4 >> > [1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE > > [[alternative HTML version deleted]]
______________________________________________ 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.