[R] Modular Arithmetic Error?

iuhz7j202 at sneakemail.com iuhz7j202 at sneakemail.com
Fri Apr 17 16:29:32 CEST 2009


A few further oddities (no longer having to do with modular arithmetic):

> (0.3 * 3) == 0.9
[1] FALSE
> (0.2 * 6) == 1.2
[1] FALSE

This is bad behavior, right? I feel like I'm going crazy.

I'm using R version 2.8.1 (2008-12-22).

Thanks,
Peter



More information about the R-help mailing list