Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 19e31743c14e
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2ceaa67b4e4e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 22, 2015

  1. Copy the full SHA
    03b3154 View commit details
  2. Merge pull request #3448 from nirvdrum/fix_step_float_iterations_size

    Fixed return value for Rubinius::Mirror::Range#step_float_iterations_…
    Yorick Peterse committed Jun 22, 2015
    Copy the full SHA
    2ceaa67 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 kernel/common/range_mirror.rb
2 changes: 2 additions & 0 deletions kernel/common/range_mirror.rb
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ def step_float_iterations_size(first, last, step_size)
else
iterations = ((last - first) / step_size + err).floor + 1
end

iterations
end

def step_iterations_size(first, last, step_size)