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

Fix #hash for the Big* number types #14308

Merged
merged 10 commits into from
Feb 24, 2024

Conversation

HertzDevil
Copy link
Contributor

Implements the original reduction relation for BigInt, BigFloat, BigDecimal, and BigRational, once and for all. In particular, BigDecimal is now compatible with other number types as it previously used #to_s instead.

Depends on #14304.

@straight-shoota straight-shoota added this to the 1.12.0 milestone Feb 22, 2024
@straight-shoota straight-shoota merged commit 213e009 into crystal-lang:master Feb 24, 2024
57 checks passed
@HertzDevil HertzDevil deleted the bug/big-num-hash branch February 24, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants