Displaying 3 results from an estimated 3 matches for "kyunseop".
2008 Sep 08
1
(PR#12742) Different result with different order of
FAQ 7.31 strikes again.
This is expected: you cannot do exact arithmetic on a binary computer if
some of the quantities involved are not binary fractions (e.g. 1.3)
See also the warning in ?`==`: identical() is equally inappropiate for
computed numerical quantities.
On Mon, 8 Sep 2008, kyunseop.bae at gmail.com wrote:
> Full_Name: Kyun-Seop Bae
> Version: 2.7.2
> OS: MS-Windows XP SP2
> Submission from: (NULL) (148.168.40.4)
>
>
> # Script that I used
>
> rm(list=objects())
> objects()
>
> WT <- 91
> AGE <- 41
> SCR <- 1.3
>
> CCL1...
2008 Sep 08
0
(PR#12742) Different result with different order of binding
Thank you for the prompt reply.
Do you know why does MS-Excel give result that I expected?
Thanks,
Kyun-Seop BAE
Email: kyunseop.bae at gmail.com
-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Monday, September 08, 2008 1:53 AM
To: kyunseop.bae at gmail.com
Cc: R-bugs at r-project.org
Subject: Re: [Rd] (PR#12742) Different result with different order of
binding
FAQ 7.31 strikes...
2008 Sep 08
1
Different result with different order of binding (PR#12742)
Full_Name: Kyun-Seop Bae
Version: 2.7.2
OS: MS-Windows XP SP2
Submission from: (NULL) (148.168.40.4)
# Script that I used
rm(list=objects())
objects()
WT <- 91
AGE <- 41
SCR <- 1.3
CCL1 <- (140-AGE) * WT / (72 * SCR)
CCL2 <- (140-AGE) * WT / 72 / SCR
CCL1
CCL2
identical(CCL1, CCL2)
identical(CCL1, 96.25)
identical(CCL2, 96.25)
CCL1*10 + 0.5
CCL2*10 + 0.5
floor(CCL1*10 +