diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-13 13:51:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-13 13:51:53 +0000 |
commit | fecbe8dede764e1c466a9b0447fb1971b65f959f (patch) | |
tree | b5932236ea53fb4dc0e1ec1c283566157170c263 /regerror.c | |
parent | c62cba56f0670703fdf787fbe98964c9ebc803ab (diff) | |
download | ruby-fecbe8dede764e1c466a9b0447fb1971b65f959f.tar.gz |
* array.c (rb_ary_sum): Array#sum is implemented.
Kahan's compensated summation algorithm for precise sum of float
numbers is moved from ary_inject_op in enum.c.
* enum.c (ary_inject_op): Don't specialize for float numbers.
[ruby-core:74569] [Feature#12217] proposed by mrkn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regerror.c')
0 files changed, 0 insertions, 0 deletions