Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with integer overflow with arithmetic operation #2

Open
TDiazT opened this issue Jun 12, 2018 · 1 comment
Open

Bug with integer overflow with arithmetic operation #2

TDiazT opened this issue Jun 12, 2018 · 1 comment
Labels

Comments

@TDiazT
Copy link
Collaborator

TDiazT commented Jun 12, 2018

  • R program that triggers the difference
> x <- 2147483647L ; x + 1L
> x <- 2147483647L ; x * x

  • runR.native Output
[1] 2147483648
[1] 4611686014132420609
  • R Output
[1] NA
Warning message:
In x + 1L : NAs produced by integer overflow
  • Additional information

Haven't checked anything yet

@TDiazT TDiazT added the bug label Jun 12, 2018
@TDiazT
Copy link
Collaborator Author

TDiazT commented Jun 12, 2018

Fixed the overflow in the integer addition.

See a8cf22d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant