Skip to content

Implement IntMath.mod and LongMath.mod in terms of Math.floorMod. #7803

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented May 9, 2025

Implement IntMath.mod and LongMath.mod in terms of Math.floorMod.

Also, in IntMath.divide and LongMath.divide, document equivalent standard operations for two RoundingMode choices, and add tests showing that those are indeed equivalent.

RELNOTES=n/a

@copybara-service copybara-service bot force-pushed the test_756744057 branch 5 times, most recently from 2e5e0d8 to 5717694 Compare May 13, 2025 23:50
Also, in `IntMath.divide` and `LongMath.divide`, document equivalent standard operations for two `RoundingMode` choices, and add tests showing that those are indeed equivalent.

RELNOTES=n/a
PiperOrigin-RevId: 758435908
@copybara-service copybara-service bot merged commit 69cad18 into master May 14, 2025
14 checks passed
@copybara-service copybara-service bot deleted the test_756744057 branch May 14, 2025 00:16
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