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

Fix float range for Random::GetFloat #604

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Fix float range for Random::GetFloat #604

merged 1 commit into from
Feb 21, 2024

Conversation

CorvusPrudens
Copy link
Collaborator

This PR fixes an issue with Random::GetFloat following this discussion on Discord. I can confirm that before the fix, I got a value above the expected range 4/10 times. Afterwards, it was 0/100.

Copy link

Unit Test Results

151 tests   151 ✔️  0s ⏱️
  16 suites      0 💤
    1 files        0

Results for commit 443f170.

@beserge
Copy link
Contributor

beserge commented Feb 21, 2024

Tested with a quick example, works great!

@beserge beserge merged commit 0b221a4 into master Feb 21, 2024
6 checks passed
@beserge beserge deleted the fix/randfloat branch February 21, 2024 20:53
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.

2 participants