General

Profile

Kenta Murata

Issues

Projects

Activity

05/18/2016

03:21 AM Ruby trunk Revision 55049: Describe Enumerable#sum in NEWS [ci skip]
12:54 AM Ruby trunk Revision 55041: Optimize each_sum for hashes
* enum.c (enum_sum, hash_sum, hash_sum_i, enum_sum_i, sum_iter):
Optimize for hashes when each method isn't redefined.
12:16 AM Ruby trunk Revision 55040: Extract int_range_sum from enum_sum
* enum.c (enum_sum, int_range_sum): Extract int_range_sum from
enum_sum.

05/17/2016

03:08 PM Ruby trunk Revision 55034: Optimize enum_sum for a range from int to int
* enum.c (enum_sum): Optimize for a range from int to int.
* test/ruby/test_enum.rb (test_range_sum): Move from test...
02:09 PM Ruby trunk Revision 55033: Write document of Enumerable#sum
01:58 PM Ruby trunk Revision 55032: Implement Enumerable#sum
* enum.c (enum_sum): Implement Enumerable#sum.
* test/ruby/test_enum.rb (test_sum): Test sum for Enumerable.
* test...

05/01/2016

03:02 PM Ruby trunk Revision 54870: Fix rb_ary_sum for mathn
* array.c (rb_ary_sum): fix for mathn
* test/ruby/test_array.rb (test_sum): ditto.

04/15/2016

02:54 PM Ruby trunk Revision 54603: rename rb_rational_add -> rb_rational_plus
* rational.c (rb_rational_plus): rename from rb_rational_add
to be aligned with rb_fix_plus.
* array.c (rb_ary_sum...
02:46 PM Ruby trunk Revision 54602: array.c (rb_ary_sum): use rb_rational_add directly
* rational.c (rb_rational_add): rename from nurat_add.
* array.c (rb_ary_sum): use rb_rational_add directly.
* test...
01:33 PM Ruby trunk Revision 54601: array.c: sum for Rational and Float mixed arrays
* array.c (rb_ary_sum): apply the precision compensated algorithm
for an array in which Rational and Float values a...

Also available in: Atom