[R] Beyond double-precision?
ggrothendieck at gmail.com
Sat May 9 18:24:50 CEST 2009
The following packages support high precision precision
arithmetic (and the last two also support exact arithmetic):
bc - interface to bc calculator
gmp - interface to gmp (gnu multiple precision)
rSymPy - interface to sympy computer algebra system
Ryacas - interface to yacas computer algebra system
On Fri, May 8, 2009 at 4:54 PM, joaks1 <joaks1 at gmail.com> wrote:
> I need to perform some calculations with some extremely small numbers (i.e.
> likelihood values on the order of 1.0E-16,000). Even when using the
> double() function, R is rounding these values to zero. Is there any way to
> get R to deal with such small numbers?
> For example, I would like to be able to calculate e^-10000 (i.e.
> exp(-10000)) without the result being rounded to zero.
> I know I can do it in Mathematica, but I would prefer to use R if I can.
> Any help would be appreciated!
> Many Thanks in Advance!
> View this message in context: http://www.nabble.com/Beyond-double-precision--tp23452471p23452471.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help