[ruby-cvs:71354] mrkn:r64262 (trunk): enumerator.c: fix for non-integral argument for ArithmeticSequence#last

mrkn at ruby-lang.org mrkn at ruby-lang.org
Fri Aug 10 13:49:44 JST 2018


mrkn	2018-08-10 13:49:44 +0900 (Fri, 10 Aug 2018)

  New Revision: 64262

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

  Log:
    enumerator.c: fix for non-integral argument for ArithmeticSequence#last
    
    This fixes a bug of Enumerator::ArithmeticSequence#last in the case that
    a non-integral argument is passed.

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


More information about the ruby-cvs mailing list