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 Random.rand(1.0) behavior #1588

merged 1 commit into from Mar 27, 2014

fix Random.rand(1.0) behavior #1588

merged 1 commit into from Mar 27, 2014


Copy link

@tduehr tduehr commented Mar 27, 2014

Random.rand should be equivalent to Random::DEFAULT.rand

enebo added a commit that referenced this pull request Mar 27, 2014
fix Random.rand(1.0) behavior.  Thanks.  Took me a while to trace through this and resolve it against MRI but it looks the it is doing the same thing and all tests pass!
@enebo enebo merged commit 79fbe32 into jruby:jruby-1_7 Mar 27, 2014
@tduehr tduehr deleted the tduehr:rand_fix branch Mar 31, 2014
@enebo enebo added this to the JRuby 1.7.12 milestone Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants