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

Add: NaturalInteger #112

Closed
oscbyspro opened this issue Oct 11, 2024 · 1 comment
Closed

Add: NaturalInteger #112

oscbyspro opened this issue Oct 11, 2024 · 1 comment
Labels
addition oh, so shiny! brrr such code, much wow maybe to do, or not to do? subtraction huh? where did it go?

Comments

@oscbyspro
Copy link
Owner

oscbyspro commented Oct 11, 2024

Unsigned systems integers are the most useful type of integers and they kind of deserve a name. I also noticed that A) 2-by-1 signed division is rather useless and B) 2-by-1 signed division can be (and is) derived from 2-by-1 unsigned division. So I could lower that requirement to NaturalInteger.

@oscbyspro oscbyspro added addition oh, so shiny! brrr such code, much wow maybe to do, or not to do? subtraction huh? where did it go? labels Oct 11, 2024
@oscbyspro
Copy link
Owner Author

oscbyspro commented Oct 13, 2024

Hm. Maybe the unchecked part of signed 2-by-1 division is useful, but error handling part isn't (#113).

@oscbyspro oscbyspro closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition oh, so shiny! brrr such code, much wow maybe to do, or not to do? subtraction huh? where did it go?
Projects
None yet
Development

No branches or pull requests

1 participant