s-news
[Top] [All Lists]

Internal rounding errors

To: s-news@lists.biostat.wustl.edu
Subject: Internal rounding errors
From: courses@zanybooks.com
Date: Tue, 03 Mar 2009 08:38:28 -0700
User-agent: Web-Based Email 4.14.21
Using R (not S-Plus) yields the following:
> data3=1:25+rnorm(25)
> temp=data3-mean(data3)
> sum(temp)
[1] 1.154632e-14
<Prev in Thread] Current Thread [Next in Thread>