[R] Rounding
R. Michael Weylandt
michael.weylandt at gmail.com
Sat Jan 5 19:51:03 CET 2013
On Sat, Jan 5, 2013 at 6:48 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> To be curt, "it's complicated," but it basically comes down to the
> fact that 1/3 is not expressible by a finite sequence of powers of 2
> so it can't be perfectly represented in binary.
But of course, that in turn leads to gems like this,
sum(2^(-2*seq(1,30))) == (1/3)
M
More information about the R-help
mailing list