[R] Exponentiate very large numbers

francesca casalino francy.casalino at gmail.com
Mon Feb 4 16:11:50 CET 2013


Dear R experts,

I have the logarithms of 2 values:

log(a) = 1347
log(b) = 1351

And I am trying to solve this expression:

exp( ln(a) ) - exp( ln(0.1) + ln(b) )

But of course every time I try to exponentiate the log(a) or log(b)
values I get Inf. Are there any tricks I can use to get a real result
for exp( ln(a) ) - exp( ln(0.1) + ln(b) ), either in logarithm or
exponential form?


Thank you very much for the help



More information about the R-help mailing list