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

Hoist some arithmetic to Doublet<T> #65

Closed
oscbyspro opened this issue Aug 7, 2024 · 2 comments
Closed

Hoist some arithmetic to Doublet<T> #65

oscbyspro opened this issue Aug 7, 2024 · 2 comments
Labels
addition oh, so shiny! maybe to do, or not to do?

Comments

@oscbyspro
Copy link
Owner

oscbyspro commented Aug 7, 2024

I feel like Doublet<T> needs 2-by-2 addition and 2-by-2 multiplication. You can do a lot with these operations, without needing a fully fledged 2x integer. Divider21<T> might use these (#64), for example. I don't think it needs much, not even overflow checking.

@oscbyspro oscbyspro added the addition oh, so shiny! label Aug 7, 2024
@oscbyspro oscbyspro added this to the Ultimathnum 0.9.0 milestone Aug 7, 2024
@oscbyspro
Copy link
Owner Author

oscbyspro commented Aug 7, 2024

Alternatively, I could await Swift.[U]Int128 and do something like (#60) instead.

@oscbyspro oscbyspro removed this from the Ultimathnum 0.9.0 milestone Aug 7, 2024
@oscbyspro oscbyspro added the maybe to do, or not to do? label Aug 7, 2024
@oscbyspro
Copy link
Owner Author

Hm. I doubt making Doublet<T> a quasi-integer scales well. (#60) might be more sensible.

@oscbyspro oscbyspro closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition oh, so shiny! maybe to do, or not to do?
Projects
None yet
Development

No branches or pull requests

1 participant