-
Notifications
You must be signed in to change notification settings - Fork 68
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
"ERROR(VpDivd): space for remainder too small" for certain division #220
Labels
Comments
mrkn
added a commit
that referenced
this issue
Jan 19, 2022
mrkn
added a commit
that referenced
this issue
Jan 19, 2022
@grk Thank you for reporting this! |
matzbot
pushed a commit
to ruby/ruby
that referenced
this issue
Jan 24, 2022
azrazalea-debtbook
added a commit
to azrazalea-debtbook/xirr
that referenced
this issue
Sep 8, 2022
estebanz01
added a commit
to estebanz01/ruby-statistics
that referenced
this issue
Oct 31, 2022
This change fixes a segmentation error produced by BigDecimal gem on ruby 3.1.2, where it fails to calculate a big float. It was "fixed" in BigDecimal 3.1.2, but this version might not be compatible with older ruby versions. Reported here: https://bugs.ruby-lang.org/issues/18604 & here: ruby/bigdecimal#220 Potential fix here: ruby/bigdecimal@e236c2e
estebanz01
added a commit
to estebanz01/ruby-statistics
that referenced
this issue
Oct 31, 2022
* ci: Run CI on supported stable ruby versions. * fix: Coerce some denominators to rational when calculating inverse beta. This change fixes a segmentation error produced by BigDecimal gem on ruby 3.1.2, where it fails to calculate a big float. It was "fixed" in BigDecimal 3.1.2, but this version might not be compatible with older ruby versions. Reported here: https://bugs.ruby-lang.org/issues/18604 & here: ruby/bigdecimal#220 Potential fix here: ruby/bigdecimal@e236c2e * spec: Add missing test for BigDecimal and goodness of fit.
We still encountered this on 3.1.4
|
Revisiting this... Ruby 3.0.6
Ruby 3.1.4
Ruby 3.2.2
Only 3.1 is affected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When upgrading to Ruby 3.1, I noticed a crashing edge-case when dividing by a certain number. It does not happen for bigdecimal < 3.1.1, but its 100% reproducible on 3.1.1.
The reproduction code is simple:
Happens on both linux and macos.
Further debug info is I think irrelevant, but I can attach if needed.
The text was updated successfully, but these errors were encountered: