I tried to multiply 111111111*111111111
, which is the same as 111111111^2
, and got incorrect results. It should give 12345678987654321
, but instead it gives a rounding error. Do I need to use some special variable type for long numbers or is this a bug with R?
↧
Multiplication of large integers
↧