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 Uint::bitand_limb #322

Merged
merged 1 commit into from
Nov 26, 2023
Merged

Add Uint::bitand_limb #322

merged 1 commit into from
Nov 26, 2023

Conversation

tarcieri
Copy link
Member

Similar to #321, this adds a function which applies a bitwise AND of the given limb to every limb in a Uint.

This can be used to replace intermediate array allocations and reduce stack size inside of Uint::{add_mod, sub_mod}.

Similar to #321, this adds a function which applies a bitwise AND of the
given limb to every limb in a `Uint`.

This can be used to replace intermediate array allocations and reduce
stack size inside of `Uint::{add_mod, sub_mod}`.
@tarcieri tarcieri merged commit 3bf7066 into master Nov 26, 2023
15 checks passed
@tarcieri tarcieri deleted the uint/bitand-limb branch November 26, 2023 21:14
@tarcieri tarcieri mentioned this pull request Jan 22, 2025
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

Successfully merging this pull request may close these issues.

1 participant