[R] How many decimal places of information does R actually use in computation?

2013-05-20 Thread Xiao He
Dear R-users: Hi, I read here ( http://stackoverflow.com/questions/2287616/controlling-digits-in-r) that R is only accurate up to the 15th decimal place, despite the fact that if you choose to display more decimal places, it will. I wonder if R uses the information beyond the 15th decimal place

Re: [R] How many decimal places of information does R actually use in computation?

2013-05-20 Thread Bert Gunter
See, e.g. http://en.wikipedia.org/wiki/Double-precision_floating-point_format Also in ?print.default please note: Large number of digits Note that for large values of digits, currently for digits = 16, the calculation of the number of significant digits will depend on the platform's internal