summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorKenta Murata <mrkn@users.noreply.github.com>2020-12-15 15:17:15 +0900
committerGitHub <noreply@github.com>2020-12-15 15:17:15 +0900
commita86c147579745859ea064ec22b2901a7ac7e4abf (patch)
tree284e480d2dfcfd0420850e962fbd31556eb737c1 /coverage
parent9d85ed6cbb50960d08bdb24c303a8f5e06b7e922 (diff)
Import bigdecimal 2.0.2 (#3905)
* remove duplicated include * Make BigDecimal#round with argument < 1 return Integer Fixes [Bug #12780] * Use a higher default precision for BigDecimal#power and #** When a fractional power is given, increase the precision if the precision isn't specified via power's second argument: Float: increase by 15 (rough number of decimal precision in float) BigDecimal: increase by adding similar precision modifier as done to calculate the base precision. Rational: double the precision, since a BigDecimal is created, but the created BigDecimal uses the same precision. Increasing the precision for these power calculations has the obvious tradeoff of making the calculations slower. Fixes Ruby Bug #17264 * Use DBLE_FIG for a Float value * Version 2.0.1 Co-authored-by: pavel <pavel.rosicky@easy.cz> Co-authored-by: Jeremy Evans <code@jeremyevans.net>
Notes
Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
Diffstat (limited to 'coverage')
0 files changed, 0 insertions, 0 deletions