largest value in R?

51 Views Asked by At

Why :

> sprintf("%f",2.0^64.0-1.0)

[1] "18446744073709551616.000000"

gives an obviously strange result (the true value is 18446744073709551615)? Did I exceed some largest value?

Thanks !

0

There are 0 best solutions below