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

Clear ambiguity regarding Int/Real rand() #1498

Merged
merged 1 commit into from Sep 2, 2017

Conversation

@zakame
Copy link
Contributor

@zakame zakame commented Sep 2, 2017

Specify whether the endpoints are included or not when selecting the
pseudo-random number.

References:

Fixes #787.

Specify whether the endpoints are included or not when selecting the
pseudo-random number.

References:

- https://github.com/perl6/roast/blob/master/S32-num/rand.t#L13-L30
- https://github.com/MoarVM/MoarVM/blob/master/3rdparty/tinymt/tinymt64.c#L97-L116

Fixes #787.
@Altai-man
Copy link
Member

@Altai-man Altai-man commented Sep 2, 2017

Looks good. Thanks a lot!

@Altai-man Altai-man merged commit be9a3c6 into Raku:master Sep 2, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@zakame zakame deleted the zakame:clear-rand-ambiguity branch Sep 2, 2017
@zakame
Copy link
Contributor Author

@zakame zakame commented Sep 2, 2017

Thanks! 🎉 🍕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants