Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Conversation

@depfu
Copy link

@depfu depfu bot commented Dec 22, 2021

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ bigdecimal (~> 1.4 → ~> 3.1) · Repo · Changelog

Release Notes

3.1.0 (from changelog)

  • Improve documentation [GH-209]

    Burdette Lamar

  • Let BigDecimal#quo accept precision. [GH-214] [Bug #8826]

    Reported by Földes László

  • Allow passing both float and precision in BigDecimal#div. [GH-212] [Bug #8826]

    Reported by Földes László

  • Add BigDecimal#scale and BigDecimal#precision_scale

    Kenta Murata

  • Fix a bug of BigDecimal#precision for the case that a BigDecimal has single internal digit [GH-205]

    Kenta Murata

  • Fix segmentation fault due to a bug of VpReallocReal

    Kenta Murata

  • Use larger precision in divide for irrational or recurring results. [GH-94] [Bug #13754]

    Reported by Lionel PERRIN

  • Fix negative Bignum conversion [GH-196]

    Jean byroot Boussier

  • Fix grammar in error messages. [GH-196]

    Olle Jonsson

  • Improve the conversion speed of Kernel#BigDecimal and to_d methods.

    Kenta Murata

  • Fix trailing zeros handling in rb_uint64_convert_to_BigDecimal. [GH-192]

    Reported by @kamipo

  • Permit 0 digits in BigDecimal(float) and Float#to_d. It means auto-detection of the smallest number of digits to represent the given Float number without error. [GH-180]

    Kenta Murata

  • Fix precision issue of Float. [GH-70] [Bug #13331]

    Reported by @casperisfine

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Dec 22, 2021
@depfu
Copy link
Author

depfu bot commented Dec 24, 2021

Closed in favor of #657.

@depfu depfu bot closed this Dec 24, 2021
@depfu depfu bot deleted the depfu/update/bigdecimal-3.1.0 branch December 24, 2021 17:48
@depfu
Copy link
Author

depfu bot commented Dec 24, 2021

Closed in favor of #657.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants