ruby/internal
Jeremy Evans d16b68cb22 Use Rational for Float#round with ndigits > 14
ndigits higher than 14 can result in values that are slightly too
large due to floating point limitations.  Converting to rational
for the calculation and then back to float fixes these issues.

Fixes [Bug #14635]
Fixes [Bug #17183]

Co-authored by: Yusuke Endoh <mame@ruby-lang.org>
2021-08-06 15:03:51 -07:00
..
2021-07-28 16:58:25 +09:00
2021-06-18 10:02:44 -07:00
2021-01-05 01:06:07 +09:00
2021-05-12 10:30:46 +09:00
2021-07-13 19:28:40 +12:00
2021-06-28 10:53:37 +09:00
2021-06-03 15:11:18 +09:00
2020-12-16 13:06:13 +09:00
2021-04-26 10:07:41 +09:00