From: ronnie@... Date: 2016-11-25T08:26:28+00:00 Subject: [ruby-core:78329] [Ruby trunk Bug#12980] Time - Time to return a Retional Issue #12980 has been updated by Akira Matsuda. Well, my assumption seems wrong. 0.5r.round also becomes 0, so this isn't really related to #12952 Still I'm wondering why Time - Time isn't Rational though. ---------------------------------------- Bug #12980: Time - Time to return a Retional https://bugs.ruby-lang.org/issues/12980#change-61693 * Author: Akira Matsuda * Status: Open * 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: