-
Notifications
You must be signed in to change notification settings - Fork 3
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
Single digit multiplication with addition #51
Comments
The combined operation is useful for things like decoding strings.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The unsigned single digit multiplication algorithm can perform one addition for free, so I should probably expose that. I'm unsure about the semantics of the signed version, however, and whether it depends on the representation used. Given a path via the magnitude, it's possible to expose some kind of arcane
incrementMagnitudeBy:
parameter but I'm not thrilled by it.The text was updated successfully, but these errors were encountered: