[ruby-cvs:69736] nobu:r62556 (trunk): rational.c: removed needless calc

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Feb 24 11:45:12 JST 2018


nobu	2018-02-24 11:45:12 +0900 (Sat, 24 Feb 2018)

  New Revision: 62556

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

  Log:
    rational.c: removed needless calc
    
    * rational.c (read_num): exp(0) is 1, no need to multiply.

  Modified files:
    trunk/rational.c


More information about the ruby-cvs mailing list