Skip to content

fix Random.rand(1.0) behavior#1588

Merged
enebo merged 1 commit intojruby:jruby-1_7from
tduehr:rand_fix
Mar 27, 2014
Merged

fix Random.rand(1.0) behavior#1588
enebo merged 1 commit intojruby:jruby-1_7from
tduehr:rand_fix

Conversation

@tduehr
Copy link
Contributor

@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 rand_fix branch March 31, 2014 15:11
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants