Skip to content
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

Upgrading ruby supported versions #81

Merged
merged 3 commits into from
Oct 31, 2022
Merged

Conversation

estebanz01
Copy link
Owner

This PR changes:

  • the minimum supported ruby versions.
  • it updates the CI to run latest supported versions as October 2022.
  • Fixes the segfault "ERROR(VpDivd): space for remainder too small" when calculating pretty small numbers on the Beta Incomplete function.

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 estebanz01 merged commit 40116ea into master Oct 31, 2022
@estebanz01 estebanz01 deleted the upgrade-ruby-versions branch October 31, 2022 02:27
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