[ruby-cvs:57686] nobu:r50538 (trunk): numeric.c: Bignum 0 is not positive

nobu at ruby-lang.org nobu at ruby-lang.org
Tue May 19 13:10:17 JST 2015


nobu	2015-05-19 13:10:12 +0900 (Tue, 19 May 2015)

  New Revision: 50538

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

  Log:
    numeric.c: Bignum 0 is not positive
    
    * numeric.c (num_positive_p): should false on Bignum 0.
      http://twitter.com/rafaelfranca/status/600509783427391488
      [ruby-core:69173] [Feature #11151]

  Modified files:
    trunk/ChangeLog
    trunk/numeric.c
    trunk/test/ruby/test_bignum.rb


More information about the ruby-cvs mailing list