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 support for bounded random integer generation. #20

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Add support for bounded random integer generation. #20

merged 1 commit into from
Apr 29, 2024

Conversation

zoj613
Copy link
Owner

@zoj613 zoj613 commented Apr 26, 2024

This implementation uses Daniel Lemire's method, as shown here. The functionality is added to the main bitgenerator
signature and thus supported by all implemented
PRNG bitgenerators.

Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (8f5e1c1) to head (f6f856a).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          213       221    +8     
=========================================
+ Hits           213       221    +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zoj613 zoj613 force-pushed the bounded branch 4 times, most recently from c8fd7e0 to 8c4f284 Compare April 29, 2024 12:15
This implementation uses Daniel Lemire's method, as
shown [here](https://arxiv.org/abs/1805.10941). The
functionality is added to the main bitgenerator
signature and thus supported by all implemented
PRNG bitgenerators.
@zoj613 zoj613 merged commit 0f29e6d into main Apr 29, 2024
6 checks passed
@zoj613 zoj613 deleted the bounded branch April 29, 2024 13:12
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