[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>

Currently, ruby/spec is maintained mostly by individuals and enjoys the

13 messages 2016/12/13

[ruby-core:78509] [Ruby trunk Bug#12980][Closed] Time - Time to return a Rational

From: ronnie@...
Date: 2016-12-06 08:48:00 UTC
List: ruby-core #78509
Issue #12980 has been updated by Akira Matsuda.

Status changed from Feedback to Closed

All right. Sounds rational. Thank you for the explanation, Mame-san and akr-san!

----------------------------------------
Bug #12980: Time - Time to return a Rational
https://bugs.ruby-lang.org/issues/12980#change-61891

* Author: Akira Matsuda
* Status: Closed
* Priority: Normal
* Assignee: Akira Tanaka
* ruby -v: ruby 2.4.0dev (2016-11-25 trunk 56897) [x86_64-darwin15]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Currently subtracting a Time from a Time returns a Float, which I guess causes #12952

Is there any reason this doesn't return a Rational?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next