[ruby-cvs:66870] nobu:r59692 (trunk): array.c: refine binomial_coefficient

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Aug 30 17:26:17 JST 2017


nobu	2017-08-30 17:26:16 +0900 (Wed, 30 Aug 2017)

  New Revision: 59692

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

  Log:
    array.c: refine binomial_coefficient
    
    * array.c (binomial_coefficient): get rid of bignums by division
      after each multiplications.

  Modified files:
    trunk/array.c


More information about the ruby-cvs mailing list