rubinius/rubinius — pull request #1786 by jfredett (2012-06-19 13:25:35+00:00)
Title: Implement Time#round

Also implements Rational#round

Two of the specs (regarding the edge-case precision values of -1_999_999 and 2_097_171, lines 42-49 of spec/ruby/shared/rational/round.rb) have some perf problems. The former takes ~8 seconds, the latter takes ~3.

I left these on at the advice of @dbussink on IRC. I'll be working on making those go faster next, probably.