Skip to content

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

2 messages · Xiao He, 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 (C library) implementation of sprintf()
functionality.

-- Bert
On Mon, May 20, 2013 at 6:06 PM, Xiao He <praguewatermelon at gmail.com> wrote: