Skip to content

Figure out what to do about operations on int values outside the comfortable JS range #638

Closed
@rakudrama

Description

@rakudrama

Issue #636 was that parsing hex literals resulted in incorrect values.
However, the numbers are still represented by JavaScript doubles, leading to various incorrect values.
Arithmetic operations are mostly correct up until rounding at 53 bits.
Bitwise operations are truncated to 32 bits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions