[R] arithmetic and logical operators
R. Michael Weylandt
michael.weylandt at gmail.com
Wed Jan 30 21:34:58 CET 2013
R FAQ 7.31 (Note, this isn't R specific, rather it's a problem with
the finitude of computers)
MW
On Wed, Jan 30, 2013 at 8:32 PM, Dave Mitchell <dmmtchll at 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.
>
> Dave Mitchell
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list