1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/bigdecimal
Kenta Murata 4e2e1d6093
[ruby/bigdecimal] Fix uint64 conversion
Stop using logarithm to compute the number of components.
Instead, use the theoretical maximum number of components for buffer,
and count up the actual number of components during conversion.

https://github.com/ruby/bigdecimal/commit/9067b353ac
2021-02-04 13:18:58 +09:00
..
lib [ruby/bigdecimal] Allow digits=0 in BigDecimal(flt) and Float#to_d 2021-01-13 11:49:18 +09:00
missing [ruby/bigdecimal] Optimize rb_float_convert_to_BigDecimal by using dtoa 2021-01-13 02:11:18 +09:00
sample
bigdecimal.c [ruby/bigdecimal] Fix uint64 conversion 2021-02-04 13:18:58 +09:00
bigdecimal.gemspec [ruby/bigdecimal] Optimize rb_float_convert_to_BigDecimal by using dtoa 2021-01-13 02:11:18 +09:00
bigdecimal.h [ruby/bigdecimal] Fix uint64 conversion 2021-02-04 13:18:58 +09:00
bits.h [ruby/bigdecimal] Check the function availabilities separately 2021-01-06 09:25:13 +09:00
depend Update ext/bigdecimal/depend 2021-01-13 09:36:17 +09:00
extconf.rb [ruby/bigdecimal] Optimize rb_float_convert_to_BigDecimal by using dtoa 2021-01-13 02:11:18 +09:00
feature.h [ruby/bigdecimal] Implement special conversions for 64-bit integers 2021-01-02 00:54:09 +09:00
missing.c [ruby/bigdecimal] Suppress warning at NO_SANITIZE on gcc 2021-01-14 10:20:30 +09:00
missing.h [ruby/bigdecimal] Optimize rb_float_convert_to_BigDecimal by using dtoa 2021-01-13 02:11:18 +09:00
static_assert.h [ruby/bigdecimal] Implement special conversions for 64-bit integers 2021-01-02 00:54:09 +09:00