-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of Lemire's nearly divisionless method (#79790)
* Lemire implementation * Cleanup * Article reference * Fix * Fixes * Comment out implementation specific tests in Xoshiro_AlgorithmBehavesAsExpected * Fix * Reenable sufficient checks for Xoshiro_AlgorithmBehavesAsExpected * Fix * Add third party notice * Resolve comments * Resolve comments * Resolve comments * Resolve comments * Refactor implementation to separate class * Typo fix * stephentoub's refactor * Reverting NextInt64 on Xoshiro128 * Adjust test * Update src/libraries/System.Private.CoreLib/src/System/Random.Xoshiro128StarStarImpl.cs --------- Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com>
- Loading branch information
1 parent
0d04df6
commit 5ec100a
Showing
5 changed files
with
98 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5ec100a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to also add Vector acceleration to this rng (System.Numeric)