diff options
author | Kenta Murata <[email protected]> | 2021-01-30 13:00:03 +0900 |
---|---|---|
committer | Kenta Murata <[email protected]> | 2021-02-04 13:18:58 +0900 |
commit | 4e2e1d60936a3dcbc0e51b1c9c925ef41c1780f6 (patch) | |
tree | 59c6734267283bdba9e6e9e9c16187adfc5e03ec /benchmark/hash_literal_small8.rb | |
parent | 868d66e0b513ae038648fffbe826d9580099a6f4 (diff) |
[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
Diffstat (limited to 'benchmark/hash_literal_small8.rb')
0 files changed, 0 insertions, 0 deletions