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

Added fast_random_gaussian() #718

Merged
merged 1 commit into from
May 8, 2024

Conversation

baranovmv
Copy link
Member

@baranovmv baranovmv commented Apr 28, 2024

Was required for tests in #688

Copy link

🤖 Upon creation, pull request description does not have a link to an issue. If there is a related issue, please add it to the description using any of the supported formats.

@gavv gavv added the ready for review Pull request can be reviewed label May 6, 2024
@baranovmv baranovmv requested a review from gavv May 6, 2024 14:13
Comment on lines 73 to 74
double u1 = (double)roc::core::fast_random() / (double)UINT32_MAX;
double u2 = (double)roc::core::fast_random() / (double)UINT32_MAX;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
double u1 = (double)roc::core::fast_random() / (double)UINT32_MAX;
double u2 = (double)roc::core::fast_random() / (double)UINT32_MAX;
double u1 = (double)fast_random() / (double)UINT32_MAX;
double u2 = (double)fast_random() / (double)UINT32_MAX;

@gavv gavv added needs revision Pull request should be revised by its author and removed ready for review Pull request can be reviewed labels May 7, 2024
@gavv
Copy link
Member

gavv commented May 7, 2024

One small comment.

@gavv gavv added this to the next milestone May 8, 2024
@gavv gavv force-pushed the feature/guassian_fast_random branch from 63312c9 to e8ea73f Compare May 8, 2024 10:15
@gavv gavv merged commit 7135e84 into roc-streaming:develop May 8, 2024
2 checks passed
@github-actions github-actions bot removed the needs revision Pull request should be revised by its author label May 8, 2024
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.

None yet

2 participants