[ruby-cvs:69857] nobu:r62701 (trunk): complex.c: removed redundant conditions

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Mar 9 11:06:39 JST 2018


nobu	2018-03-09 11:06:39 +0900 (Fri, 09 Mar 2018)

  New Revision: 62701

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

  Log:
    complex.c: removed redundant conditions
    
    Fixnums can be compared by object values themselves only.
    Addition/subtraction/mulplication of fixnum 0 do not affect the
    sign.

  Modified files:
    trunk/complex.c


More information about the ruby-cvs mailing list