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

Replace broken round_up with u32::next_multiple_of #125

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

robertknight
Copy link
Owner

The output of round_up was val + factor instead of val when val was an exact multiple of factor. Use the standard library method instead which handles this case correctly. This change resulted in a small change to one of the E2E test outputs.

Base automatically changed from update-baselines to main October 2, 2024 07:23
The output of `round_up` was `val + factor` instead of `val` when `val` was an
exact multiple of factor. Use the standard library method instead which handles
this case correctly. This change resulted in a small change to one of the E2E
test outputs.
@robertknight robertknight merged commit f95d222 into main Oct 3, 2024
2 checks passed
@robertknight robertknight deleted the fix-round-up branch October 3, 2024 05:21
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