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

Cleanup of rounding functionality #3998

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Cleanup of rounding functionality #3998

merged 1 commit into from
Apr 10, 2024

Conversation

randombit
Copy link
Owner

The round_down function was used exactly once - just remove it.

Improve testing of round_up, and detect integer overflows. This could only happen with very large alignment values, and these are always small constants in practice.

@randombit randombit requested a review from reneme April 10, 2024 10:24
The round_down function was used exactly once - just remove it.

Improve testing of round_up, and detect integer overflows. This could
only happen with very large alignment values, and these are always
small constants in practice.
@randombit randombit force-pushed the jack/rounding-cleanup branch from 3a8bc3d to 47d4d71 Compare April 10, 2024 10:33
@coveralls
Copy link

Coverage Status

coverage: 92.015% (-0.005%) from 92.02%
when pulling 47d4d71 on jack/rounding-cleanup
into 846a6ae on master.

@randombit randombit merged commit 7987b8e into master Apr 10, 2024
43 checks passed
@randombit randombit deleted the jack/rounding-cleanup branch April 10, 2024 11:40
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.

3 participants