A Question on floating-point precision in R

Fair enough, but that's not one of the incorrect results. :slight_smile:

In general you need to apply a precision tolerance for such comparisons. This tends to apply for most programming languages.