elgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.be/biostat/
http://www.student.kuleuven.be/~m0390867/dimitris.htm
- Original Message -
From: "Simon Woodhead" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 09, 2005 1:42 PM
Subject: [R] floor()
Simon Woodhead wrote:
> Dear all,
>
> Could someone please explain the following perculiarity?
Please read the FAQ "Why doesn't R think these numbers are equal" (as
the posting gude asks you to do).
Uwe Ligges
> > 2 == 0.2/0.1
> [1] TRUE
> > 3 == 0.3/0.1
> [1] FALSE
>
> Similarly,
>
> f
On 8/9/05 7:42 AM, "Simon Woodhead" <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> Could someone please explain the following perculiarity?
>
>> 2 == 0.2/0.1
> [1] TRUE
>> 3 == 0.3/0.1
> [1] FALSE
>
> Similarly,
>
> floor(0.2/0.1) = 2
> floor(0.3/0.1) = 2
This is a FAQ
(http://cran.r-project.or
Dear all,
Could someone please explain the following perculiarity?
> 2 == 0.2/0.1
[1] TRUE
> 3 == 0.3/0.1
[1] FALSE
Similarly,
floor(0.2/0.1) = 2
floor(0.3/0.1) = 2
Thank you,
Simon
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mai