Displaying 1 result from an estimated 1 matches for "tp16492549p16492549".
2008 Apr 04
4
Arbitrary Precision Numbers
...t;- function(n) {
s <- 0
strn <- formatC(2^n, format="fg")
sum(as.numeric(strsplit(strn,"")[[1]]))
}
This also doesnt seem to work. Is there another way I can do this in R?
Cheers
Rory
--
View this message in context: http://www.nabble.com/Arbitrary-Precision-Numbers-tp16492549p16492549.html
Sent from the R help mailing list archive at Nabble.com.