Skip to content
Back to formatted view

Raw Message

Message-ID: <1263919413923-1017727.post@n4.nabble.com>
Date: 2010-01-19T16:43:33Z
From: kayj
Subject: problem with the precision of numbers

Hi All,

I was wodering if it is possible to increase the precision using R. I ran
the script below in R and MAPLE and I got different results when k is large.
Any idea how to fix this problem? thanks for your help


for (k in 0:2000){
 s=0
 for(i in 0:k){
 s=s+((-1)^i)*3456*(1+i*1/2000)^3000
 }
}
-- 
View this message in context: http://n4.nabble.com/problem-with-the-precision-of-numbers-tp1017727p1017727.html
Sent from the R help mailing list archive at Nabble.com.