-
Notifications
You must be signed in to change notification settings - Fork 80
Comparing changes
Open a pull request
base repository: ruby/bigdecimal
base: v3.2.3
head repository: ruby/bigdecimal
compare: v3.3.0
- 19 commits
- 12 files changed
- 6 contributors
Commits on Sep 9, 2025
-
Allow calling Rational#to_d without arguments (#421)
Then the precision would be 0, just like with Float. Apply the same change to Complex, which had a different validation
Configuration menu - View commit details
-
Copy full SHA for d9af278 - Browse repository at this point
Copy the full SHA d9af278View commit details -
Fix test_no_memory_leak failure (#424)
Avoid memory leak when TypedData_Wrap_Struct fail. First, prepare TypedData_Wrap_Struct with NULL. Next, allocate Real. Finally, bind VALUE and Real.
Configuration menu - View commit details
-
Copy full SHA for 021c554 - Browse repository at this point
Copy the full SHA 021c554View commit details
Commits on Sep 11, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 514d36c - Browse repository at this point
Copy the full SHA 514d36cView commit details -
Use exp(x) = exp(x.round(k)) * exp(x - x.round(k)). exp(x.round(k)) is fast because calculation of x**n is fast. exp(x-x.round(k) is fast because x**n/n! converges fast.
Configuration menu - View commit details
-
Copy full SHA for 69d7641 - Browse repository at this point
Copy the full SHA 69d7641View commit details -
Rename assert_relative_precision (#425)
Now that assert_fixed_point_precision is removed and there is only assert_relative_precision, "relative" part is not important anymore. Change it to `assert_converge_in_precision` which express the assertion more accurate.
Configuration menu - View commit details
-
Copy full SHA for 23144a7 - Browse repository at this point
Copy the full SHA 23144a7View commit details
Commits on Sep 12, 2025
-
Add support for tangent function (#231)
* Add support for tangent function * Apply review comments for tests * Make tan depend only on sin * Use Ziv's loop method suggested in review * Test failing test * Use first implementation based on sin and cos * Remove unused code
Configuration menu - View commit details
-
Copy full SHA for cebd1a5 - Browse repository at this point
Copy the full SHA cebd1a5View commit details -
Make bigdecimal.rb work in JRuby (#420)
Use BigDecimal(float, 0) instead of BigDecimal(float). Add a ruby-implemented polyfill of BigDecimal#_decimal_shift. This is needed to let math.rb depend on bigdecimal.rb utility methods.
Configuration menu - View commit details
-
Copy full SHA for 92a9d7e - Browse repository at this point
Copy the full SHA 92a9d7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2066c20 - Browse repository at this point
Copy the full SHA 2066c20View commit details -
Round result of sqrt and BigMath methods (#427)
* Round result of sqrt and other BigMath methods BigMath methods no longer returns extra digits which may be inaccurate * Remove workaround for removing extra digits from sqrt result in log calculation
Configuration menu - View commit details
-
Copy full SHA for 44a2bb6 - Browse repository at this point
Copy the full SHA 44a2bb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07696bc - Browse repository at this point
Copy the full SHA 07696bcView commit details
Commits on Sep 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 34e60a7 - Browse repository at this point
Copy the full SHA 34e60a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ca3249 - Browse repository at this point
Copy the full SHA 8ca3249View commit details
Commits on Sep 15, 2025
-
Bump step-security/harden-runner from 2.13.0 to 2.13.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.0 to 2.13.1. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@ec9f2d5...f4a75cf) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-version: 2.13.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 6682fd8 - Browse repository at this point
Copy the full SHA 6682fd8View commit details -
Merge pull request #431 from ruby/dependabot/github_actions/step-secu…
…rity/harden-runner-2.13.1 Bump step-security/harden-runner from 2.13.0 to 2.13.1
Configuration menu - View commit details
-
Copy full SHA for f107735 - Browse repository at this point
Copy the full SHA f107735View commit details -
Configuration menu - View commit details
-
Copy full SHA for d93b542 - Browse repository at this point
Copy the full SHA d93b542View commit details
Commits on Oct 3, 2025
-
Configuration menu - View commit details
-
Copy full SHA for cb2458b - Browse repository at this point
Copy the full SHA cb2458bView commit details
Commits on Oct 6, 2025
-
Improve performance of x**y when y is a huge value (#438)
When y.exponent is several thousand or more, x**y was slow because exponentiation by squaring requires several thousands of multiplications. Use exp and log in such case. Needed to calaculate (1+1/n).power(n, prec)
Configuration menu - View commit details
-
Copy full SHA for a267ca7 - Browse repository at this point
Copy the full SHA a267ca7View commit details
Commits on Oct 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f718178 - Browse repository at this point
Copy the full SHA f718178View commit details -
* Update changelog for v3.3.0 * Bump version to 3.3.0
Configuration menu - View commit details
-
Copy full SHA for 0aa97bb - Browse repository at this point
Copy the full SHA 0aa97bbView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.2.3...v3.3.0