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

Add Integer#ceilvdiv #3402

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Add Integer#ceilvdiv #3402

merged 2 commits into from
Jan 24, 2024

Conversation

nirvdrum
Copy link
Collaborator

This PR implements the new Ruby 3.2 method Integer#ceildiv. In the process of implementing it, we discovered that Integer#idiv was broken with a Rational divisor. Since ceildiv is implemented by using idiv, we combined that fix into this PR.

/cc @simonlevasseur

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 22, 2024
Copy link
Member

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. Same remark as Andrii, other than that good to go!

@andrykonchin andrykonchin added the in-ci The PR is being tested in CI. Do not push new commits. label Jan 23, 2024
@graalvmbot graalvmbot merged commit 740a6e1 into oracle:master Jan 24, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-ci The PR is being tested in CI. Do not push new commits. OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants