Skip to content

More functions for working with SomeIntegers #132

@konsumlamm

Description

@konsumlamm

Currently, there are inc, dec, succ, pred for adding/subtracting an int. Internally, there are also functions for comparing with int32.

We should add more functions for working with BigInts and SomeIntegers, to avoid having to construct BigInts (and thus allocating) for small numbers. This would make sense for at least ==, <, +, -, *, div (in the second argument), mod (in the second argument).

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