Skip to content

Investigate bitshifting beyond the size of SmallIntegers #69

@j4yk

Description

@j4yk

What does our bit-shifting primitive do in 32 bit if you do aSmallInteger << 48? Verify if Cog returns a LargePositiveInteger and that we return the same. There are probably test cases for this in the KernelTests-Numbers package.

@timfel told me that there used to be and could still be a lingering bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions