Skip to content
Prev 352323 / 398500 Next

Ramanujan and the accuracy of floating point computations - using Rmpfr in R

I don't know much about Rmpfr, but it doesn't look like your "pi" or "sqrt" or "exp" are being handled by that package, so I am not really seeing why your result should be more accurate when you have loaded that package.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
On July 2, 2015 7:28:19 AM PDT, Ravi Varadhan <ravi.varadhan at jhu.edu> wrote: