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

Fix description of rounding_shift_left/rounding_shift_right #6549

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

dsharletg
Copy link
Contributor

The comment refers to an older understanding which is incorrect for saturating cases, e.g. rounding_shift_right(255, 1) = 128 (new definition) and not 127 (old definition).

@dsharletg
Copy link
Contributor Author

This PR only affects comments, I will merge (ignoring failures).

@dsharletg dsharletg merged commit 4ec870d into master Jan 7, 2022
@dsharletg dsharletg deleted the dsharletg-patch-1 branch January 7, 2022 22:03
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.

2 participants