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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to