I am born with potential,
I am born with goodness,
I am born with ideas and dreams,
I am born with greatness,
I have wings,
I have two wings,
I am meant for creativity because I have wings,
I will fly, I will fly, I will fly !!! -- DR. A. P. J. Abdul Kalam
Search This Blog
Saturday, August 03, 2013
How to handle large numbers in R ?
Checkout the Brobdingnag package:
> library(Brobdingnag)
> exp(1000)/(exp(1007)+5)
[1] NaN
> as.numeric(exp(as.brob(1000))/(exp(as.brob(1007))+5))
[1] 0.000911882
>
No comments:
Post a Comment
Thank you