[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)
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
> 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