KEMBAR78
Make bigdecimal.rb work in JRuby by tompng · Pull Request #420 · ruby/bigdecimal · GitHub
Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Sep 3, 2025

Preparation for #415
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.

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.
@tompng tompng merged commit 92a9d7e into ruby:master Sep 12, 2025
81 checks passed
@tompng tompng deleted the jruby_polyfill branch September 12, 2025 14:24
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