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

Req. twosCompelementSubsequence(_:) #121

Closed
oscbyspro opened this issue Jun 9, 2023 · 0 comments
Closed

Req. twosCompelementSubsequence(_:) #121

oscbyspro opened this issue Jun 9, 2023 · 0 comments
Labels
addition oh, so shiny!
Milestone

Comments

@oscbyspro
Copy link
Owner

oscbyspro commented Jun 9, 2023

twosCompelementSubsequence(_:) is a top-tier method I wrote in Numberick. It's a composable signed-ness-less negation operation that also provides some information about the value being negated. It turns out that you can use its overflow indicator to efficiently check large signed integer multiplication overflow, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition oh, so shiny!
Projects
None yet
Development

No branches or pull requests

1 participant