Skip to content

Generate arbitray floats #26

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

Merged
merged 1 commit into from
Mar 21, 2021
Merged

Generate arbitray floats #26

merged 1 commit into from
Mar 21, 2021

Conversation

killercup
Copy link
Member

@killercup killercup commented Mar 20, 2021

…in a terrribly simplistic manner.

cf. #12

…in a terrribly simplistic manner.
@killercup
Copy link
Member Author

r? @marcelbuesing

@marcelbuesing
Copy link
Contributor

Looks good to me. Not entirely sure about the formula but it seems ok.

@killercup
Copy link
Member Author

Thanks! The "formula" is just a simple idea I had: We can get arbitrary u32s, so let's map 0...u32::MAX to the range from min to max and add it to the min! :)

@killercup killercup merged commit f435025 into main Mar 21, 2021
@killercup killercup deleted the feature/arbitrary-floats branch March 25, 2021 16:16
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