[R] unexpected behavior using round to 2 digits on randomly generated numbers
Petr Savicky
savicky at cs.cas.cz
Mon Nov 29 16:17:06 CET 2010
On Sun, Nov 28, 2010 at 01:53:05PM -0800, Jeff Newmiller wrote:
> FAQ 7.31
>
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
Additional information concerning rounding errors of double precision and
suggestions for R code, which avoids them in some situations, may be found
in the first section of
http://rwiki.sciviews.org/doku.php?id=misc:r_accuracy
and in
http://rwiki.sciviews.org/doku.php?id=misc:r_accuracy:decimal_numbers
Petr Savicky.
More information about the R-help
mailing list