[ruby-cvs:63672] nobu:r56507 (trunk): complex.c: FINITE_TYPE_P

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Oct 28 15:19:00 JST 2016


nobu	2016-10-28 15:19:00 +0900 (Fri, 28 Oct 2016)

  New Revision: 56507

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

  Log:
    complex.c: FINITE_TYPE_P
    
    * complex.c (FINITE_TYPE_P): extract predicate.
    * complex.c (rb_complex_finite_p, rb_complex_infinite_p): use
      dedicated predicates instead of switch by TYPE.

  Modified files:
    trunk/ChangeLog
    trunk/complex.c


More information about the ruby-cvs mailing list