General

Profile

Kenta Murata

Issues

Projects

Activity

12/06/2016

01:45 PM Ruby trunk Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
Takeshi Nishimatsu wrote:
> Julia can do it, too.
>
> ~~~
> julia> sum_kbn([1.0e10, 1.0e-10, -1.0e10])
> 1.0e-1...
01:40 PM Ruby trunk Feature #12871 (Closed): Using the algorithm like math.fsum of Python for Array#sum
Applied in changeset r57001.
----------
array.c, enum.c: change sum algorithm
* array.c (rb_ary_sum): change the al...
01:40 PM Ruby trunk Revision 57001: array.c, enum.c: change sum algorithm
* array.c (rb_ary_sum): change the algorithm to Kahan-Babuska balancing
summation to be more precise.
[Feature #1...
12:54 PM Ruby trunk Revision 57000: numeric.c: fix exception message for nil rounding
* numeric.c (rb_num_get_rounding_option): fix exception message
for the case of nil rounding mode.
* test_float.rb...

11/25/2016

07:26 AM Ruby trunk Feature #12871 (Assigned): Using the algorithm like math.fsum of Python for Array#sum

11/22/2016

04:58 PM Ruby trunk Bug #10109 (Closed): BigDecimal fail to compare to Float::INFINITY
04:57 PM Ruby trunk Bug #10109: BigDecimal fail to compare to Float::INFINITY
I found that this is fixed by r55123
05:21 AM Ruby trunk Revision 56872: complex.c: optimize f_gt_p some cases
* complex.c (f_gt_p): optimize f_gt_p for specific types of arguments.
* internal.h (rb_int_gt, rb_float_gt, rb_rati...
04:54 AM Ruby trunk Revision 56870: complex.c: optimize Kernel#Complex
* complex.c (nucomp_f_complex): use nucomp_s_convert directly.
* complex.c (id_convert): removed.

11/21/2016

04:01 PM Ruby trunk Bug #10109: BigDecimal fail to compare to Float::INFINITY
I'm working on it in https://github.com/ruby/bigdecimal/pull/15

Also available in: Atom