Skip to content

Fix division precision limit #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2025
Merged

Conversation

tompng
Copy link
Member

@tompng tompng commented May 30, 2025

Apply preclimit in BigDecimal_div2 when specified prec is 0.
Preclimit in BigDecimal#/ and BigDecimal#div was accidentally dropped in #329

Some test in ruby/spec is failing. https://github.com/ruby/spec/blob/master/library/bigdecimal/limit_spec.rb

@tompng tompng merged commit 64933d4 into ruby:master May 31, 2025
77 of 78 checks passed
@tompng tompng deleted the div_with_preclimit_fix branch May 31, 2025 05:17
@tompng tompng changed the title Apply preclimit in BigDecimal_div2 when specified prec is 0 Fix division precision limit May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant