[ruby-cvs:71784] mrkn:r64692 (trunk): enumerator.c: Fix ArithmeticSequence for complex step

mrkn at ruby-lang.org mrkn at ruby-lang.org
Wed Sep 12 14:35:46 JST 2018


mrkn	2018-09-12 14:35:46 +0900 (Wed, 12 Sep 2018)

  New Revision: 64692

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64692

  Log:
    enumerator.c: Fix ArithmeticSequence for complex step
    
    Make sure Enumerator::ArithmeticSequence#each to work well
    for a complex step value.

  Modified files:
    trunk/enumerator.c
    trunk/test/ruby/test_arithmetic_sequence.rb


More information about the ruby-cvs mailing list