aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-15 13:33:05 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-15 13:33:05 +0000
commit22cdd6480e5c13eb58703656eb808d21deb72081 (patch)
treeaa2e2561b4b4bc1160ca4f2434bd28a6770c22f7 /internal.h
parentde387ef4a5635615cf3cfd774a9ebf6a4b2757f8 (diff)
downloadruby-22cdd6480e5c13eb58703656eb808d21deb72081.tar.gz
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 are mixed. * test/ruby/test_array.rb (test_sum): add assertions for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions