[R] Exponentiate very large numbers
francesca casalino
francy.casalino at gmail.com
Mon Feb 4 16:59:53 CET 2013
I am sorry I have confused you, the logs are all base e:
ln(a) = 1347
ln(b) = 1351
And I am trying to solve this expression:
exp( ln(a) ) - exp( ln(0.1) + ln(b) )
Thank you.
2013/2/4 francesca casalino <francy.casalino at gmail.com>:
> 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