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

BoxedUint random number generation #349

Merged
merged 1 commit into from
Nov 29, 2023
Merged

BoxedUint random number generation #349

merged 1 commit into from
Nov 29, 2023

Conversation

tarcieri
Copy link
Member

Impls the RandomMod trait for BoxedUint, sharing an implementation with Uint.

The Random trait can't be impl'd since we need to specify a precision as an argument. Perhaps we need a trait like RandomWithPrecision.

Impls the `RandomMod` trait for `BoxedUint`, sharing an implementation
with `Uint`.

The `Random` trait can't be impl'd since we need to specify a precision
as an argument. Perhaps we need a trait like `RandomWithPrecision`.
@tarcieri tarcieri merged commit f09c9ab into master Nov 29, 2023
16 checks passed
@tarcieri tarcieri deleted the boxed-uint/rand branch November 29, 2023 16:07
@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