Suppose I have big numbers such as this: 10.295.419.305.791.578.917.358.173.519.057.891.283.897.623.986
library(gmp)
as.bigz(10295419305791578917358173519057891283897623986)
And this might outputs:
Big Integer ('bigz') :
[1] 10295419305791579051260295299235939155628261376
Visually the value 10.295.419.305.791.579.051.260.295.299.235.939.155.628.261.376
is already different compared the input (begins after 15 digits from beginning)
My question: are there any explanation to this? is it because of numeric error before it being converted to big integer?
While I still find a way to get the accurate value by adding quotes.. such as:
as.bigz("10295419305791578917358173519057891283897623986")
Big Integer ('bigz') :
[1] 10295419305791578917358173519057891283897623986