[#97086] [Ruby master Bug#16612] Enumerator::ArithmeticSequence#last with float range produces incorrect value — muraken@...
Issue #16612 has been updated by mrkn (Kenta Murata).
4 messages
2020/02/07
[#97307] [Ruby master Feature#16663] Add block or filtered forms of Kernel#caller to allow early bail-out — headius@...
Issue #16663 has been reported by headius (Charles Nutter).
29 messages
2020/02/28
[ruby-core:97105] Re: Broken threading?
From:
SHIBATA Hiroshi <hsbt@...>
Date:
2020-02-10 02:16:19 UTC
List:
ruby-core #97105
Hi, Vit It may be fixed at https://github.com/ruby/b.r-l.o/pull/112 On Sun, Feb 9, 2020 at 7:48 AM V鱈t Ondruch <v.ondruch@gmail.com> wrote: > > Since past few days/weeks, the Redmine threading is broken. Can somebody > please look into this? > > > Thx. > > > V鱈t > > > Dne 07. 02. 20 v 9:58 muraken@gmail.com napsal(a): > > Issue #16612 has been updated by mrkn (Kenta Murata). > > > > Assignee set to mrkn (Kenta Murata) > > Status changed from Open to Assigned > > > > ---------------------------------------- > > Bug #16612: Enumerator::ArithmeticSequence#last with float range produces incorrect value > > https://bugs.ruby-lang.org/issues/16612#change-84193 > > > > * Author: bjfish (Brandon Fish) > > * Status: Assigned > > * Priority: Normal > > * Assignee: mrkn (Kenta Murata) > > * ruby -v: 2.7.0 > > * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN > > ---------------------------------------- > > **Steps to reproduce** > > > > ``` shell > > % ruby -e 'p ((0.24901079128550474)...(340.25008088980684)).step(34.00010700985213).last' > > 340.2500808898068 > > ``` > > **Expected result** > > > > Last value should match the value produced by the following: > > > > ``` shell > > ruby -e 'p ((0.24901079128550474)...(340.25008088980684)).step(34.00010700985213).to_a[-1]' > > 306.24997387995467 > > ``` > > > > **Environment** > > This was observed in versions `2.7.0` and `2.6.5`. > > > > > > > > > > > > Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> > <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core> -- SHIBATA Hiroshi hsbt@ruby-lang.org https://www.hsbt.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>