[ruby-cvs:67222] nobu:r60041 (trunk): complex.c: no overflow

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Sep 27 11:55:03 JST 2017


nobu	2017-09-27 11:55:03 +0900 (Wed, 27 Sep 2017)

  New Revision: 60041

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

  Log:
    complex.c: no overflow
    
    * complex.c (rb_complex_infinite_p): get rid of overflow and
      unnecessary multiplication.

  Modified files:
    trunk/complex.c
    trunk/numeric.c
    trunk/test/ruby/test_complex.rb


More information about the ruby-cvs mailing list