Skip to content

[compat] match BigDecimal float comparison (#5904) - #9816

Open
kares wants to merge 1 commit into
jruby:masterfrom
kares:fix_bigdec-float-convert
Open

kares wants to merge 1 commit into
jruby:masterfrom
kares:fix_bigdec-float-convert

Conversation

@kares

@kares kares commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

MRI truncates float decimal strings to 16 significant digits during BigDecimal coercion

this is (mostly) fixing the issue at #5904 there are brother concerns in the issue that aren't resolved here e.g. the BigDecimal(8.03, 16) care

MRI truncates float decimal strings to 16 significant digits during
BigDecimal coercion
@kares
kares requested a review from headius October 17, 2026 09:03
@kares kares linked an issue Oct 17, 2026 that may be closed by this pull request
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.

BigDecimal/float difference between MRI and JRuby

1 participant