Skip to content
Prev 179768 / 398503 Next

Beyond double-precision?

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!