Skip to content

Add BigRational#%, #tdiv, #remainder#14306

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:feature/bigrational-div
Feb 21, 2024
Merged

Add BigRational#%, #tdiv, #remainder#14306
straight-shoota merged 1 commit intocrystal-lang:masterfrom
HertzDevil:feature/bigrational-div

Conversation

@HertzDevil
Copy link
Contributor

These accept both Int and BigRational as arguments.

For those arguments, the PR also overrides Number#// with a more uniform implementation.

@straight-shoota straight-shoota added this to the 1.12.0 milestone Feb 19, 2024
@straight-shoota straight-shoota merged commit 9866e50 into crystal-lang:master Feb 21, 2024
@HertzDevil HertzDevil deleted the feature/bigrational-div branch February 21, 2024 12:11
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