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

More functions for working with SomeIntegers #132

Open
konsumlamm opened this issue Jul 22, 2023 · 0 comments
Open

More functions for working with SomeIntegers #132

konsumlamm opened this issue Jul 22, 2023 · 0 comments

Comments

@konsumlamm
Copy link
Contributor

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).

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

No branches or pull requests

1 participant