Skip to content

Bug with integer overflow with arithmetic operation #2

Description

@TDiazT
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions